瀏覽代碼

modify jenkinsfile

huqi 6 年之前
父節點
當前提交
89e708f5a5
共有 2 個文件被更改,包括 3 次插入3 次删除
  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 &