X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=buildSite.sh;h=b83896c54de98b1e9655f8ae8ac20f1760d57038;hb=0757e6ae5c3ae9cec09dc2d04242dc9af3dee189;hp=0c56aa1c6780fdc42783e36af2803b131680f77a;hpb=ed9252e63d26b2a6b7d39fb9ed9939727f2fea8a;p=gpl%2Fargeo-slc.git diff --git a/buildSite.sh b/buildSite.sh index 0c56aa1c6..b83896c54 100755 --- a/buildSite.sh +++ b/buildSite.sh @@ -16,7 +16,7 @@ EXIT_STATUS=0 export MAVEN_OPTS=-Xmx256m # BUILD -mvn -up --fail-at-end deploy $PROFILES 2>&1 | tee deploy.log +/usr/local/bin/mvn -up --fail-at-end deploy $PROFILES 2>&1 | tee deploy.log EXIT_STATUS=$PIPESTATUS if [ $EXIT_STATUS -eq 0 ] then @@ -25,8 +25,13 @@ else mail -s "Build@$HOSTNAME FAILURE - $DATE - $BUILD_DIR" $TO < deploy.log fi +# SDK +#cd dist/org.argeo.slc.sdk +#/usr/local/bin/mvn deploy +#cd ../.. + # SITE -mvn -up --fail-at-end site-deploy $PROFILES 2>&1 | tee siteGeneration.log +/usr/local/bin/mvn -up --fail-at-end site-deploy $PROFILES 2>&1 | tee siteGeneration.log if [ $PIPESTATUS -eq 0 ] then echo No need to send email for successful site generation @@ -34,7 +39,5 @@ else mail -s "SiteGeneration@$HOSTNAME FAILURE - $DATE - $BUILD_DIR" $TO < siteGeneration.log fi -cd dist/org.argeo.slc.sdk -mvn deploy exit $EXIT_STATUS