@@ -24,7 +24,9 @@ pipeline {
chmod +x 03xxljob-prod.sh
./03xxljob-prod.sh stop
./03xxljob.sh pull
- sleep 10s
+ """
+ sh """
+ sleep 3s
JENKINS_NODE_COOKIE=dontKillMe nohup ./03xxljob-prod.sh start > /dev/null 2>&1 &
"""
}
@@ -23,7 +23,10 @@ pipeline {
chmod +x ./04wms83-prod.sh
./04wms83-prod.sh deploy
- sh "JENKINS_NODE_COOKIE=dontKillMe nohup ./04wms83-prod.sh restart > /dev/null 2>&1 &"
+ JENKINS_NODE_COOKIE=dontKillMe nohup ./04wms83-prod.sh restart > /dev/null 2>&1 &
chmod +x ./05api-prod.sh
./05api-prod.sh deploy
- sh "JENKINS_NODE_COOKIE=dontKillMe nohup ./05api-prod.sh restart > /dev/null 2>&1 &"
+ JENKINS_NODE_COOKIE=dontKillMe nohup ./05api-prod.sh restart > /dev/null 2>&1 &