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

added some more startup information (artifact urls)

parent 766d2e4a
No related branches found
No related tags found
No related merge requests found
...@@ -516,12 +516,16 @@ fi ...@@ -516,12 +516,16 @@ fi
if $INSTALL_ISOCHRONE_LOCAL; then if $INSTALL_ISOCHRONE_LOCAL; then
echo "Installing template project \"isochrone (local testing)\"" echo "Installing template project \"isochrone (local testing)\""
echo " - creating war using gradle from $TEMPLATE_DIR_ISOCHRONE"
$TEMPLATE_DIR_ISOCHRONE/gradlew -b $TEMPLATE_DIR_ISOCHRONE/build.gradle -c $TEMPLATE_DIR_ISOCHRONE/settings.gradle clean war > install_isochrone_local.log 2>&1 $TEMPLATE_DIR_ISOCHRONE/gradlew -b $TEMPLATE_DIR_ISOCHRONE/build.gradle -c $TEMPLATE_DIR_ISOCHRONE/settings.gradle clean war > install_isochrone_local.log 2>&1
unzip -o -d $TOMCAT_WEBAPP_DIR/localTesting $TEMPLATE_DIR_ISOCHRONE/build/libs/isochrone-*.war >> install_isochrone_local.log 2>&1 unzip -o -d $TOMCAT_WEBAPP_DIR/localTesting $TEMPLATE_DIR_ISOCHRONE/build/libs/isochrone-*.war >> install_isochrone_local.log 2>&1
fi fi
if $INSTALL_ISOCHRONE_RELEASE; then if $INSTALL_ISOCHRONE_RELEASE; then
echo "Installing template project \"isochrone (release)\"" echo "Installing template project \"isochrone (release)\""
echo " - artifact: $NEXUS_RELEASE_ISOCHRONE"
# we do not save this file in download dir (we do not want caching for isochrone.war) # we do not save this file in download dir (we do not want caching for isochrone.war)
fn_download $DOWNLOAD_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 cp $DOWNLOAD_DIR/isochrone.war $TOMCAT_WEBAPP_DIR/isochrone.war
...@@ -531,6 +535,8 @@ fi ...@@ -531,6 +535,8 @@ fi
if $INSTALL_ISOCHRONE_SNAPSHOT; then if $INSTALL_ISOCHRONE_SNAPSHOT; then
echo "Installing template project \"isochrone (testing)\"" echo "Installing template project \"isochrone (testing)\""
echo " - artifact: $NEXUS_RELEASE_ISOCHRONE"
# we do not save this file in download dir (we do not want caching for testing.war) # we do not save this file in download dir (we do not want caching for testing.war)
fn_download $DOWNLOAD_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 cp $DOWNLOAD_DIR/testing.war $TOMCAT_WEBAPP_DIR/testing.war
...@@ -540,6 +546,8 @@ fi ...@@ -540,6 +546,8 @@ fi
if $INSTALL_PROJECT_CANIGET2; then if $INSTALL_PROJECT_CANIGET2; then
echo "Installing template project \"CanIGet2\"" echo "Installing template project \"CanIGet2\""
echo " - artifact: $NEXUS_RELEASE_CANIGET2"
fn_download_newer $DOWNLOAD_DIR/caniget2.war $NEXUS_RELEASE_CANIGET2 fn_download_newer $DOWNLOAD_DIR/caniget2.war $NEXUS_RELEASE_CANIGET2
cp $DOWNLOAD_DIR/caniget2.war $TOMCAT_WEBAPP_DIR cp $DOWNLOAD_DIR/caniget2.war $TOMCAT_WEBAPP_DIR
unzip -o -d $TOMCAT_WEBAPP_DIR/caniget2 $TOMCAT_WEBAPP_DIR/caniget2.war > install_caniget2.log 2>&1 unzip -o -d $TOMCAT_WEBAPP_DIR/caniget2 $TOMCAT_WEBAPP_DIR/caniget2.war > install_caniget2.log 2>&1
...@@ -548,6 +556,8 @@ fi ...@@ -548,6 +556,8 @@ fi
if $INSTALL_PROJECT_PSIPROBE; then if $INSTALL_PROJECT_PSIPROBE; then
echo "Installing template project \"psi-probe\"" echo "Installing template project \"psi-probe\""
echo " - artifact: https://psi-probe.googlecode.com/files/$TEMPLATE_FILE_PSIPROBE"
fn_download_newer $DOWNLOAD_DIR/$TEMPLATE_FILE_PSIPROBE https://psi-probe.googlecode.com/files/$TEMPLATE_FILE_PSIPROBE fn_download_newer $DOWNLOAD_DIR/$TEMPLATE_FILE_PSIPROBE https://psi-probe.googlecode.com/files/$TEMPLATE_FILE_PSIPROBE
unzip $DOWNLOAD_DIR/$TEMPLATE_FILE_PSIPROBE probe.war -d $TOMCAT_WEBAPP_DIR unzip $DOWNLOAD_DIR/$TEMPLATE_FILE_PSIPROBE probe.war -d $TOMCAT_WEBAPP_DIR
unzip -o -d $TOMCAT_WEBAPP_DIR/psiprobe $TOMCAT_WEBAPP_DIR/probe.war > install_psiprobe.log 2>&1 unzip -o -d $TOMCAT_WEBAPP_DIR/psiprobe $TOMCAT_WEBAPP_DIR/probe.war > install_psiprobe.log 2>&1
...@@ -556,6 +566,7 @@ fi ...@@ -556,6 +566,7 @@ fi
if $INSTALL_MAVEN; then if $INSTALL_MAVEN; then
echo "Installing maven $MAVEN_VERSION" echo "Installing maven $MAVEN_VERSION"
mkdir -p $CACHE_DIR_LOCAL/maven mkdir -p $CACHE_DIR_LOCAL/maven
fn_download_newer $DOWNLOAD_DIR/$MAVEN_FILE http://tweedo.com/mirror/apache/maven/maven-3/3.1.1/binaries/$MAVEN_FILE fn_download_newer $DOWNLOAD_DIR/$MAVEN_FILE http://tweedo.com/mirror/apache/maven/maven-3/3.1.1/binaries/$MAVEN_FILE
unzip -o $DOWNLOAD_DIR/$MAVEN_FILE -d $DEPLOY_DIR > install_maven.log 2>&1 unzip -o $DOWNLOAD_DIR/$MAVEN_FILE -d $DEPLOY_DIR > install_maven.log 2>&1
......
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