Kaynağa Gözat

Jenkinsfile错误处理修改

huqi 5 yıl önce
ebeveyn
işleme
725be33f04
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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'