Skip to content

Commit

Permalink
Merge pull request #5212 from AdamBrousseau/add_art_links_to_desc
Browse files Browse the repository at this point in the history
Add SDK and Testlib Artifactory URLs to description
  • Loading branch information
pshipton authored Mar 22, 2019
2 parents 115f888 + 94c9e81 commit ac09e02
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions buildenv/jenkins/common/build
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,13 @@ def archive() {
server.publishBuildInfo buildInfo
// Write URL to env so that we can pull it from the upstream pipeline job
ARTIFACTORY_URL = server.getUrl()
env.CUSTOMIZED_SDK_URL = "${ARTIFACTORY_URL}/${artifactory_upload_dir}${SDK_FILENAME}"
SDK_URL = "${ARTIFACTORY_URL}/${artifactory_upload_dir}${SDK_FILENAME}"
env.CUSTOMIZED_SDK_URL = SDK_URL
currentBuild.description += "<br><a href=${SDK_URL}>${SDK_FILENAME}</a>"
if (fileExists("${TEST_FILENAME}")) {
env.CUSTOMIZED_SDK_URL += " ${ARTIFACTORY_URL}/${artifactory_upload_dir}${TEST_FILENAME}"
TEST_LIB_URL = "${ARTIFACTORY_URL}/${artifactory_upload_dir}${TEST_FILENAME}"
env.CUSTOMIZED_SDK_URL += " " TEST_LIB_URL
currentBuild.description += "<br><a href=${TEST_LIB_URL}>${TEST_FILENAME}</a>"
}
echo "CUSTOMIZED_SDK_URL:'${CUSTOMIZED_SDK_URL}'"
echo "ARTIFACTORY_CREDS:'${ARTIFACTORY_CREDS}'"
Expand Down

0 comments on commit ac09e02

Please sign in to comment.