瀏覽代碼

modify Jenkinsfile

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