Browse Source

modify Jenkinsfile

huqi 5 years ago
parent
commit
12ed505c23
2 changed files with 3 additions and 2 deletions
  1. 2 1
      Jenkinsfile
  2. 1 1
      o2server/start_linux_nohup.sh

+ 2 - 1
Jenkinsfile

@@ -28,7 +28,8 @@ pipeline {
             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 './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 &