From 574e6a31618562c1065d7cac8b4d26ac8528ca7e Mon Sep 17 00:00:00 2001 From: Sophia Guo Date: Tue, 5 Nov 2024 10:33:30 -0500 Subject: [PATCH] Replace HUDSON_URL to JENKINS_URL as HUDSON_URL deprecates --- pipelines/build/common/build_base_file.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pipelines/build/common/build_base_file.groovy b/pipelines/build/common/build_base_file.groovy index 54672e1e7..9f3365b2a 100644 --- a/pipelines/build/common/build_base_file.groovy +++ b/pipelines/build/common/build_base_file.groovy @@ -788,7 +788,7 @@ class Builder implements Serializable { def osArch = 'all available OS&ARCHs' def artifactsToCopy = '**/temurin/*.tar.gz,**/temurin/*.zip,**/temurin/*.sha256.txt,**/temurin/*.msi,**/temurin/*.pkg,**/temurin/*.json,**/temurin/*.sig' def dryRun = false - def String releaseToolUrl = "${context.HUDSON_URL}job/build-scripts/job/release/job/refactor_openjdk_release_tool/parambuild?" + def String releaseToolUrl = "${context.JENKINS_URL}job/build-scripts/job/release/job/refactor_openjdk_release_tool/parambuild?" if ( config != null ) { def prefixOfArtifactsToCopy = "**/${config.TARGET_OS}/${config.ARCHITECTURE}/${config.VARIANT}" artifactsToCopy = "${prefixOfArtifactsToCopy}/*.tar.gz,${prefixOfArtifactsToCopy}/*.zip,${prefixOfArtifactsToCopy}/*.sha256.txt,${prefixOfArtifactsToCopy}/*.msi,${prefixOfArtifactsToCopy}/*.pkg,${prefixOfArtifactsToCopy}/*.json,${prefixOfArtifactsToCopy}/*.sig" @@ -1034,13 +1034,13 @@ class Builder implements Serializable { if (publish || release) { if (release) { context.println 'NOT PUBLISHING RELEASE AUTOMATICALLY, PLEASE SEE THE RERUN RELEASE PUBLISH BINARIES LINKS' - if (context.HUDSON_URL.contains('adoptium')) { + if (context.JENKINS_URL.contains('adoptium')) { releaseSummary.appendText('', false) releaseSummary.appendText("TAPs COLLECTION and REALEASE: