Skip to content

Commit

Permalink
Changing error to println to prevent misinterpretation (#752)
Browse files Browse the repository at this point in the history
To prevent this message being interpreted as cause for failure
in and of itself, I'm changing this to a println.

Signed-off-by: Adam Farley <[email protected]>
  • Loading branch information
adamfarley committed Jul 6, 2023
1 parent 84c4fb6 commit fb61ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/build/common/build_base_file.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ class Builder implements Serializable {
context.println '[NODE SHIFT] OUT OF CONTROLLER NODE!'

if ((downstreamJob.getResult() != 'SUCCESS' || !copyArtifactSuccess) && propagateFailures) {
context.error("Propagating downstream job result: ${downstreamJobName}, Result: "+downstreamJob.getResult()+" CopyArtifactsSuccess: "+copyArtifactSuccess)
context.println("Propagating downstream job result: ${downstreamJobName}, Result: "+downstreamJob.getResult()+" CopyArtifactsSuccess: "+copyArtifactSuccess)
if (copyArtifactSuccess && downstreamJob.getResult() == 'UNSTABLE' && (currentBuild.result == 'SUCCESS' || currentBuild.result == 'UNSTABLE' )) {
currentBuild.result = 'UNSTABLE'
} else {
Expand Down

0 comments on commit fb61ed5

Please sign in to comment.