Explorar el Código

modify jenkinsfile

huqi hace 6 años
padre
commit
89e708f5a5
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 2
      Jenkinsfile
  2. 1 1
      o2server/start_linux_nohup.sh

+ 2 - 2
Jenkinsfile

@@ -27,9 +27,9 @@ pipeline {
         stage('run') {
         stage('run') {
             steps {
             steps {
                 //sh 'nohup target/o2server/start_linux.sh &'
                 //sh 'nohup target/o2server/start_linux.sh &'
-                sh 'cd target/o2server'
+                //sh 'cd target/o2server'
                 sh 'pwd'
                 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 &