Browse Source

modify Jenkinsfile

huqi 5 years ago
parent
commit
54f67514c4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

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