Skip to content
Snippets Groups Projects
Commit 766d2e4a authored by User expired's avatar User expired
Browse files

trying to fix project installation (of release and snapshot)

parent ec621066
No related branches found
No related tags found
No related merge requests found
......@@ -523,7 +523,8 @@ fi
if $INSTALL_ISOCHRONE_RELEASE; then
echo "Installing template project \"isochrone (release)\""
# we do not save this file in download dir (we do not want caching for isochrone.war)
fn_download_newer $TOMCAT_WEBAPP_DIR/isochrone.war $NEXUS_RELEASE_ISOCHRONE
fn_download $DOWNLOAD_DIR/isochrone.war $NEXUS_RELEASE_ISOCHRONE
cp $DOWNLOAD_DIR/isochrone.war $TOMCAT_WEBAPP_DIR/isochrone.war
unzip -o -d $TOMCAT_WEBAPP_DIR/isochrone $TOMCAT_WEBAPP_DIR/isochrone.war > install_isochrone_release.log 2>&1
rm -f $TOMCAT_WEBAPP_DIR/isochrone.war >> install_isochrone_release.log 2>&1
fi
......@@ -531,7 +532,8 @@ fi
if $INSTALL_ISOCHRONE_SNAPSHOT; then
echo "Installing template project \"isochrone (testing)\""
# we do not save this file in download dir (we do not want caching for testing.war)
fn_download_newer $TOMCAT_WEBAPP_DIR/testing.war $NEXUS_SNAPSHOT_ISOCHRONE
fn_download $DOWNLOAD_DIR/testing.war $NEXUS_SNAPSHOT_ISOCHRONE
cp $DOWNLOAD_DIR/testing.war $TOMCAT_WEBAPP_DIR/testing.war
unzip -o -d $TOMCAT_WEBAPP_DIR/testing $TOMCAT_WEBAPP_DIR/testing.war > install_isochrone_snapshot.log 2>&1
rm -f $TOMCAT_WEBAPP_DIR/testing.war >> install_isochrone_snapshot.log 2>&1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment