Procházet zdrojové kódy

Jenkinsfile错误处理修改

huqi před 6 roky
rodič
revize
725be33f04
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -3,7 +3,7 @@ pipeline {
     stages {
         stage('preperation') {
             steps {
-                catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
+                catchError(buildResult: 'SUCCESS', stageResult: 'SUCCESS') {
                     sh 'target/o2server/stop_linux.sh'
                 }
                 sh 'npm install'