Explorar o código

modify jenkinsfile

huqi %!s(int64=6) %!d(string=hai) anos
pai
achega
8f3337147f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -29,7 +29,7 @@ pipeline {
                 //sh 'nohup target/o2server/start_linux.sh &'
                 //sh 'cd target/o2server'
                 sh 'pwd'
-                sh 'nohup target/o2server/start_linux.sh > nohup.out &'
+                sh 'JENKINS_NODE_COOKIE=dontKillMe nohup target/o2server/start_linux.sh > nohup.out &'
             }
         }
     }