Skip to content

Commit

Permalink
Changing error to println to prevent misinterpretation (#752) (#754)
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]>
Co-authored-by: Adam Farley <[email protected]>
  • Loading branch information
andrew-m-leonard and adamfarley authored Jul 7, 2023
1 parent 586f2ca commit b83e77c
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 b83e77c

Please sign in to comment.