Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct publish job url #1176

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tools/nightly_build_and_test_stats.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def getBuildIDsByPlatform(String trssUrl, String jdkVersion, String srcTag, Map

// Also, check if the pipeline published any successful builds overall.
if (onePipelineBuild.buildName.contains("refactor_openjdk_release_tool") && onePipelineBuild.status.contains("Done")) {
def wgetUrlForReleaseTool = "${onePipelineBuild.buildUrl}/consoleText"
def wgetUrlForReleaseTool = "${onePipelineBuild.url}/job/${onePipelineBuild.buildName}/${onePipelineBuild.buildNum}/consoleText"
if (onePipelineBuild.buildOutputId != null) {
wgetUrlForReleaseTool = "${trssURL}/api/getOutputById?id=${onePipelineBuild.buildOutputId}"
}
Expand Down Expand Up @@ -677,7 +677,7 @@ node('worker') {
}

// Check tip_releases status, by querying binaries repo as API does not server the "tip" dev releases
if (tipReleases.size() > 0) {
if ("${params.TIP_RELEASES}".trim() != "") {
tipReleases.each { tipRelease ->
def latestOpenjdkBuild = getLatestOpenjdkBuildTag(tipRelease)
def tipVersion = tipRelease.replaceAll("[a-z]","").toInteger()
Expand Down Expand Up @@ -708,7 +708,7 @@ node('worker') {
def pipelinesOfInterest = ""
def allReleases = []
allReleases.addAll(featureReleases)
if (tipReleases.size() > 0) {
if ("${params.TIP_RELEASES}".trim() != "") {
allReleases.addAll(tipReleases)
}
if ("${params.NON_TAG_BUILD_RELEASES}".trim() != "") {
Expand Down Expand Up @@ -911,7 +911,7 @@ node('worker') {
echo '-------------- Latest pipeline health report ------------------'
def allReleases = []
allReleases.addAll(featureReleases)
if (tipReleases.size() > 0) {
if ("${params.TIP_RELEASES}".trim() != "") {
allReleases.addAll(tipReleases)
}
if (("${params.NON_TAG_BUILD_RELEASES}".trim() != "")) {
Expand Down
Loading