Author: jleroux
Date: Fri Apr 8 17:13:30 2011
New Revision: 1090353
URL:
http://svn.apache.org/viewvc?rev=1090353&view=revLog:
Better place for #BUILD_ID=dontKillMe
Allows to run from Jenkins. See
http://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller. Cons: the calling Jenkins job does not terminate if the log is not enabled, pros: this allows to monitor the log in Jenkins
Modified:
ofbiz/trunk/startofbiz.sh
Modified: ofbiz/trunk/startofbiz.sh
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/startofbiz.sh?rev=1090353&r1=1090352&r2=1090353&view=diff==============================================================================
--- ofbiz/trunk/startofbiz.sh (original)
+++ ofbiz/trunk/startofbiz.sh Fri Apr 8 17:13:30 2011
@@ -49,9 +49,9 @@ else
JAVA=java
fi
+# Allows to run from Jenkins. See
http://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller. Cons: the calling Jenkins job does not terminate if the log is not enabled, pros: this allows to monitor the log in Jenkins
+#BUILD_ID=dontKillMe
+
# start ofbiz
#$JAVA $VMARGS -jar ofbiz.jar $* >>$OFBIZ_LOG 2>>$OFBIZ_LOG&
exec "$JAVA" $VMARGS -jar ofbiz.jar "$@"
-
-# Allow To Run From Jenkins. See
http://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller. Drawback: the calling Jenkins job does not terminate
-#BUILD_ID=dontKillMe