diff --git a/pipelines/build/common/build_base_file.groovy b/pipelines/build/common/build_base_file.groovy
index 70dfd8b43..54672e1e7 100644
--- a/pipelines/build/common/build_base_file.groovy
+++ b/pipelines/build/common/build_base_file.groovy
@@ -1034,19 +1034,21 @@ class Builder implements Serializable {
if (publish || release) {
if (release) {
context.println 'NOT PUBLISHING RELEASE AUTOMATICALLY, PLEASE SEE THE RERUN RELEASE PUBLISH BINARIES LINKS'
- releaseSummary.appendText('', false)
- releaseSummary.appendText("TAPs COLLECTION and REALEASE:
")
- def urlJobName = URLEncoder.encode("${env.JOB_NAME}", 'UTF-8')
- def tapCollectionUrl = "${context.HUDSON_URL}job/TAP_Collection/parambuild?Release_PipelineJob_Name=${urlJobName}"
- releaseSummary.appendText("- RELEASE TAPs COLLECTION
")
- def String releaseToolUrl = "${context.HUDSON_URL}job/build-scripts/job/release/job/refactor_openjdk_release_tool/parambuild?RELEASE=${release}}&UPSTREAM_JOB_NAME=TAP_Collection&UPLOAD_TESTRESULTS_ONLY=true&dryrun=false"
- def tag = publishName
- tag = URLEncoder.encode(tag, 'UTF-8')
- def artifactsToCopy = '**/AQAvitTapFiles.tar.gz'
- artifactsToCopy = URLEncoder.encode(artifactsToCopy, 'UTF-8')
- def javaVersion=determineReleaseToolRepoVersion()
- releaseToolUrl += "&VERSION=${javaVersion}&TAG=${tag}&ARTIFACTS_TO_COPY=${artifactsToCopy}"
- releaseSummary.appendText("- RELEASE TEST RESULTS TAPs Link
")
+ if (context.HUDSON_URL.contains('adoptium')) {
+ releaseSummary.appendText('
', false)
+ releaseSummary.appendText("TAPs COLLECTION and REALEASE:")
+ def urlJobName = URLEncoder.encode("${env.JOB_NAME}", 'UTF-8')
+ def tapCollectionUrl = "${context.HUDSON_URL}job/TAP_Collection/parambuild?Release_PipelineJob_Name=${urlJobName}"
+ releaseSummary.appendText("- RELEASE TAPs COLLECTION
")
+ def String releaseToolUrl = "${context.HUDSON_URL}job/build-scripts/job/release/job/refactor_openjdk_release_tool/parambuild?RELEASE=${release}}&UPSTREAM_JOB_NAME=TAP_Collection&UPLOAD_TESTRESULTS_ONLY=true&dryrun=false"
+ def tag = publishName
+ tag = URLEncoder.encode(tag, 'UTF-8')
+ def artifactsToCopy = '**/AQAvitTapFiles.tar.gz'
+ artifactsToCopy = URLEncoder.encode(artifactsToCopy, 'UTF-8')
+ def javaVersion=determineReleaseToolRepoVersion()
+ releaseToolUrl += "&VERSION=${javaVersion}&TAG=${tag}&ARTIFACTS_TO_COPY=${artifactsToCopy}"
+ releaseSummary.appendText("- RELEASE TEST RESULTS TAPs Link
")
+ }
} else {
try {
context.timeout(time: pipelineTimeouts.PUBLISH_ARTIFACTS_TIMEOUT, unit: 'HOURS') {