Explorar o código

modify jenkinsfile

huqi %!s(int64=6) %!d(string=hai) anos
pai
achega
89e708f5a5
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 2 2
      Jenkinsfile
  2. 1 1
      o2server/start_linux_nohup.sh

+ 2 - 2
Jenkinsfile

@@ -27,9 +27,9 @@ pipeline {
         stage('run') {
             steps {
                 //sh 'nohup target/o2server/start_linux.sh &'
-                sh 'cd target/o2server'
+                //sh 'cd target/o2server'
                 sh 'pwd'
-                sh 'nohup start_linux.sh &'
+                sh 'target/o2server/start_linux_nohup.sh'
             }
         }
     }

+ 1 - 1
o2server/start_linux_nohup.sh

@@ -1 +1 @@
-nohup start_linux.sh &
+nohup target/o2server/start_linux.sh &