Skip to content

Commit 1a219c4

Browse files
committed
Review Changes
1 parent 9c6160b commit 1a219c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildenv/jenkins/jck_sync

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ timestamps{
2525
} catch (Exception e) {
2626
// build result may not be updated correctly at the moment (see https://issues.jenkins.io/browse/JENKINS-56402)
2727
// 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")){
2929
println("JCKUpdater script returned exit code 2, as no new update available. The job is completed without further action.")
3030
currentBuild.result = "SUCCESS"
3131
} else if (e.toString().contains("FlowInterruptedException")) {
@@ -64,7 +64,7 @@ def syncJckMaterial(){
6464
echo ("JCKUpdater script output:")
6565
echo scriptOutput
6666
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.")
6868
currentBuild.result = "SUCCESS"
6969
} else if (EXITCODE == 0) {
7070
echo ("Script returned exit code 0, new update is available and PR is created.")

0 commit comments

Comments
 (0)