The href must be set correctly for the description
setting plugin to work with AWS S3.
Issue-ID: RELENG-4354
Change-Id: Ia388fd7de37cef4db0d43de057d2bab914eec2b6
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
--- /dev/null
+---
+fixes:
+ - |
+ Add S3 URL in href as required to display the AWS S3 logs
+ from the jobs description.
sh(script: libraryResource('shell/logs-deploy.sh'))
}
s3_path = "logs/${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}/"
sh(script: libraryResource('shell/logs-deploy.sh'))
}
s3_path = "logs/${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}/"
- buildDesc += "S3 build logs: <a href=\"https://$CDN_URL/$s3_path\"></a>\n"
+ buildDesc += "S3 build logs: <a href=\"https://$CDN_URL/$s3_path\">https://$CDN_URL/$s3_path</a>\n"
// If LOGS_SERVER is also defined, logs-deploy.sh will deploy to both
if ("$LOGS_SERVER" != "") {
nexus_path = "${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}"
// If LOGS_SERVER is also defined, logs-deploy.sh will deploy to both
if ("$LOGS_SERVER" != "") {
nexus_path = "${SILO}/${JENKINS_HOSTNAME}/${JOB_NAME}/${BUILD_NUMBER}"