Skip to content

Commit

Permalink
Workaround for temurin-compliance getDependency url (#5590)
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 authored Sep 11, 2024
1 parent dc6cdfd commit c17baaa
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 c17baaa

Please sign in to comment.