Explorar o código

modify Jenkinsfile

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

+ 2 - 1
Jenkinsfile

@@ -28,7 +28,8 @@ pipeline {
             steps {
                 //sh 'nohup target/o2server/start_linux.sh &'
                 sh 'cd target/o2server'
-                sh './start_linux_nohup.sh'
+                sh 'pwd'
+                sh 'nohup start_linux.sh &'
             }
         }
     }

+ 1 - 1
o2server/start_linux_nohup.sh

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