Преглед на файлове

Jenkinsfile错误处理修改

huqi преди 5 години
родител
ревизия
725be33f04
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

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