diff --git a/pipelines/build/common/build_base_file.groovy b/pipelines/build/common/build_base_file.groovy
index e51aa31fe..6bacf10be 100644
--- a/pipelines/build/common/build_base_file.groovy
+++ b/pipelines/build/common/build_base_file.groovy
@@ -784,8 +784,7 @@ class Builder implements Serializable {
def releaseWarning = ''
if ( jobResult != "SUCCESS" && jobResult != "UNSTABLE" ) {
// Build was not successful, add warning and link to build job
- def buildUrl = "${context.JENKINS_URL}${jobUrl}"
- releaseWarning = 'WARNING: build result(' + jobResult + ') : '
+ releaseWarning = 'WARNING: build result(' + jobResult + ') : '
}
def tag = "${javaToBuild}-${timestamp}"