Explorar o código

modify Jenkinsfile

huqi %!s(int64=5) %!d(string=hai) anos
pai
achega
54f67514c4
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

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