From 127e919a70382d0da659bd52d3133ed959fa9c57 Mon Sep 17 00:00:00 2001 From: Andrew Leonard Date: Thu, 21 Nov 2024 15:09:53 +0000 Subject: [PATCH] Add pipeline publish link warning if job fails Signed-off-by: Andrew Leonard --- 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 fd5c944ef..4a7e20897 100644 --- a/pipelines/build/common/build_base_file.groovy +++ b/pipelines/build/common/build_base_file.groovy @@ -1063,7 +1063,7 @@ class Builder implements Serializable { } else { try { context.timeout(time: pipelineTimeouts.PUBLISH_ARTIFACTS_TIMEOUT, unit: 'HOURS') { - def (String releaseToolUrl, String releaseComment, String releaseWarning) = publishBinary(null, currentBuild.result, "${context.JOB_URL}") + def (String releaseToolUrl, String releaseComment, String releaseWarning) = publishBinary(null, currentBuild.result, "${context.BUILD_URL}") releaseSummary.appendText("
  • ${releaseWarning} ${releaseComment} Rerun Link
  • ") } } catch (FlowInterruptedException e) {