huqi 5 лет назад
Родитель
Сommit
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 &