Replace JENKINS_URL with JENKINS_PUBLIC_URL
To ensure tf-a-job-configs can run on both OpenCI
and Arm Test CI, JENKINS_URL has been replaced with
JENKINS_PUBLIC_URL, as JENKINS_URL is a reserved
private URL in Arm infrastructure.
JENKINS_PUBLIC_URL is a system-wide environment
variable and was configured in:
Manage Jenkins > System > Global Properties
Default values:
OpenCI Production Jenkins: https://ci.trustedfirmware.org/
OpenCI Staging Jenkins: https://ci.staging.trustedfirmware.org/
Change-Id: I2ff69dc2d874a1f21743b255737b983d0db4f361
Signed-off-by: Saheer Babu <saheer.babu@arm.com>
(cherry picked from commit 86786ddf4214ba9ba640875f7303b814a628dd93)
diff --git a/tf-a-lts-create-release.yaml b/tf-a-lts-create-release.yaml
index 5ba35c4..63389b7 100644
--- a/tf-a-lts-create-release.yaml
+++ b/tf-a-lts-create-release.yaml
@@ -106,4 +106,4 @@
# Push tag
git push ssh://$CI_BOT_USERNAME@$GERRIT_HOST:29418/$GERRIT_PROJECT $TAG
- echo Release tag is created. Further processing happens in the job ${JENKINS_URL}job/tf-a-lts-release-tagged
+ echo Release tag is created. Further processing happens in the job ${JENKINS_PUBLIC_URL}job/tf-a-lts-release-tagged
diff --git a/tf-a-test-result-visualization.yaml b/tf-a-test-result-visualization.yaml
index 830c8de..a62b728 100644
--- a/tf-a-test-result-visualization.yaml
+++ b/tf-a-test-result-visualization.yaml
@@ -48,7 +48,7 @@
#!/bin/bash
bash ${WORKSPACE}/tf-a-ci-scripts/script/graphs/tf-main-results.bash \
- "${JENKINS_URL}job/${TARGET_BUILD}"
+ "${JENKINS_PUBLIC_URL}job/${TARGET_BUILD}"
publishers:
- postbuildscript:
builders: