File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ timestamps{
25
25
} catch (Exception e) {
26
26
// build result may not be updated correctly at the moment (see https://issues.jenkins.io/browse/JENKINS-56402)
27
27
// if there is an exception, set currentBuild.result to ABORTED/FAILURE
28
- if (e. toString(). contains(" Gracefully stop the execution of pipeline " )){
28
+ if (e. toString(). contains(" The job is completed without further action " )){
29
29
println (" JCKUpdater script returned exit code 2, as no new update available. The job is completed without further action." )
30
30
currentBuild. result = " SUCCESS"
31
31
} else if (e. toString(). contains(" FlowInterruptedException" )) {
@@ -64,7 +64,7 @@ def syncJckMaterial(){
64
64
echo (" JCKUpdater script output:" )
65
65
echo scriptOutput
66
66
if (EXITCODE == 2 ) {
67
- error (" JCKUpdater script returned exit code 2, as no new update available. Gracefully stop the execution of pipeline ." )
67
+ error (" JCKUpdater script returned exit code 2, as no new update available. The job is completed without further action ." )
68
68
currentBuild. result = " SUCCESS"
69
69
} else if (EXITCODE == 0 ) {
70
70
echo (" Script returned exit code 0, new update is available and PR is created." )
You can’t perform that action at this time.
0 commit comments