Skip to content

Commit

Permalink
Workaround for temurin-compliance getDependency url
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard committed Sep 11, 2024
1 parent dc6cdfd commit b2ead54
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,10 @@ def getCustomUrl() {
def jenkinsDomain = getJenkinsDomain()
if (jenkinsDomain.contains("hyc-runtimes")) {
jenkinsDomain = "openj9-jenkins.osuosl.org"
}
} else if (jenkinsDomain.contains("temurin-compliance")) {
jenkinsDomain = "ci.adoptium.net"
}

def customUrl = "https://${jenkinsDomain}/job/test.getDependency/lastSuccessfulBuild/artifact/"
echo "Custom URL: ${customUrl}"
return customUrl
Expand Down

0 comments on commit b2ead54

Please sign in to comment.