From fb61ed57b84669ab7fa8cecbedecb072aaab4782 Mon Sep 17 00:00:00 2001 From: Adam Farley Date: Thu, 6 Jul 2023 10:46:01 +0100 Subject: [PATCH] Changing error to println to prevent misinterpretation (#752) 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 --- pipelines/build/common/build_base_file.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/build/common/build_base_file.groovy b/pipelines/build/common/build_base_file.groovy index 513ff5e0b..b50be6533 100644 --- a/pipelines/build/common/build_base_file.groovy +++ b/pipelines/build/common/build_base_file.groovy @@ -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 {