Skip to content

Commit

Permalink
Merge pull request coreos#885 from Adam0Brien/blue-ocean-slack
Browse files Browse the repository at this point in the history
Add blue ocean url
  • Loading branch information
marmijo authored Jul 6, 2023
2 parents 24d5396 + 4ee9553 commit 39e6fac
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion jobs/build-arch.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ lock(resource: "build-${params.STREAM}-${basearch}") {
if (pipecfg.hotfix) {
stream += "-${pipecfg.hotfix.name}"
}
def message = "[${stream}][${basearch}] <${env.BUILD_URL}|${env.BUILD_NUMBER}>"
def message = "[${stream}][${basearch}] :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}>"

if (currentBuild.result == 'SUCCESS') {
if (!newBuildID) {
Expand Down
2 changes: 1 addition & 1 deletion jobs/build-cosa.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ lock(resource: "build-${containername}") {
currentBuild.description = "[${gitref}@${shortcommit}] ❌"
}
if (currentBuild.result != 'SUCCESS') {
message = "build-cosa <${env.BUILD_URL}|#${env.BUILD_NUMBER}> [${gitref}@${shortcommit}]"
message = "build-cosa :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> [${gitref}@${shortcommit}]"
pipeutils.trySlackSend(message: message)
}
}
Expand Down
2 changes: 1 addition & 1 deletion jobs/build-fcos-buildroot.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ lock(resource: "build-${containername}") {
currentBuild.description = "[${gitref}@${shortcommit}] ❌"
}
if (currentBuild.result != 'SUCCESS') {
message = "build-${containername} <${env.BUILD_URL}|#${env.BUILD_NUMBER}> [${gitref}@${shortcommit}]"
message = "build-${containername} :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> [${gitref}@${shortcommit}]"
pipeutils.trySlackSend(color: 'danger', message: message)
}
}
Expand Down
2 changes: 1 addition & 1 deletion jobs/build.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ lock(resource: "build-${params.STREAM}") {
if (pipecfg.hotfix) {
stream += "-${pipecfg.hotfix.name}"
}
def message = "[${stream}][${basearch}] <${env.BUILD_URL}|${env.BUILD_NUMBER}>"
def message = "[${stream}][${basearch}] :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}>"

if (currentBuild.result == 'SUCCESS') {
if (!newBuildID) {
Expand Down
2 changes: 1 addition & 1 deletion jobs/bump-lockfile.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ lock(resource: "bump-${params.STREAM}") {
throw e
} finally {
if (currentBuild.result != 'SUCCESS') {
pipeutils.trySlackSend(message: "<${env.BUILD_URL}|bump-lockfile #${env.BUILD_NUMBER} (${params.STREAM})>")
pipeutils.trySlackSend(message: ":jenkins:<${env.BUILD_URL}|bump-lockfile ${env.BUILD_NUMBER} (${params.STREAM})> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}>")
}
}
}}} // cosaPod, timeout, and lock finish here
2 changes: 1 addition & 1 deletion jobs/cloud-replicate.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ lock(resource: "cloud-replicate-${params.VERSION}") {
currentBuild.result = 'FAILURE'
throw e
} finally {
pipeutils.trySlackSend(message: ":cloud: :arrows_counterclockwise: cloud-replicate <${env.BUILD_URL}|#${env.BUILD_NUMBER}> [${params.STREAM}][${basearches.join(' ')}] (${params.VERSION})")
pipeutils.trySlackSend(message: ":cloud: :arrows_counterclockwise: cloud-replicate :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> [${params.STREAM}][${basearches.join(' ')}] (${params.VERSION})")
}}} // try-catch-finally, cosaPod and lock finish here
2 changes: 1 addition & 1 deletion jobs/kola-aws.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ cosaPod(memory: "512Mi", kvm: false,
throw e
} finally {
if (currentBuild.result != 'SUCCESS') {
pipeutils.trySlackSend(message: ":aws: kola-aws <${env.BUILD_URL}|#${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${params.VERSION})")
pipeutils.trySlackSend(message: ":aws: kola-aws :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${params.VERSION})")
}
}
}} // cosaPod and timeout finish here
2 changes: 1 addition & 1 deletion jobs/kola-azure.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ cosaPod(memory: "${cosa_memory_request_mb}Mi", kvm: false,
throw e
} finally {
if (currentBuild.result != 'SUCCESS') {
pipeutils.trySlackSend(message: ":azure: kola-azure <${env.BUILD_URL}|#${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${params.VERSION})")
pipeutils.trySlackSend(message: ":azure: kola-azure :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${params.VERSION})")
}
}
}} // cosaPod and timeout finish here
2 changes: 1 addition & 1 deletion jobs/kola-gcp.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ cosaPod(memory: "512Mi", kvm: false,
throw e
} finally {
if (currentBuild.result != 'SUCCESS') {
pipeutils.trySlackSend(message: ":gcp: kola-gcp <${env.BUILD_URL}|#${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${params.VERSION})")
pipeutils.trySlackSend(message: ":gcp: kola-gcp :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${params.VERSION})")
}
}
}} // cosaPod and timeout finish here
2 changes: 1 addition & 1 deletion jobs/kola-kubernetes.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ cosaPod(memory: "512Mi", kvm: false,
throw e
} finally {
if (currentBuild.result != 'SUCCESS') {
pipeutils.trySlackSend(message: ":k8s: kola-kubernetes <${env.BUILD_URL}|#${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${params.VERSION})")
pipeutils.trySlackSend(message: ":k8s: kola-kubernetes :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${params.VERSION})")
}
}
}} // cosaPod and timeout finish here
2 changes: 1 addition & 1 deletion jobs/kola-openstack.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ lock(resource: "kola-openstack-${params.ARCH}") {
throw e
} finally {
if (currentBuild.result != 'SUCCESS') {
pipeutils.trySlackSend(message: ":openstack: kola-openstack <${env.BUILD_URL}|#${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${params.VERSION})")
pipeutils.trySlackSend(message: ":openstack: kola-openstack :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${params.VERSION})")
}
}
}}} // cosaPod, timeout, and lock finish here
2 changes: 1 addition & 1 deletion jobs/kola-upgrade.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ EOF
throw e
} finally {
if (currentBuild.result != 'SUCCESS') {
pipeutils.trySlackSend(message: "kola-upgrade <${env.BUILD_URL}|#${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${start_version}->${target_version})")
pipeutils.trySlackSend(message: "kola-upgrade :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> [${params.STREAM}][${params.ARCH}] (${start_version}->${target_version})")
}
}
}}} // lock, cosaPod and timeout finish here
2 changes: 1 addition & 1 deletion jobs/release.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -376,5 +376,5 @@ lock(resource: "release-${params.STREAM}", extra: locks) {
if (pipecfg.hotfix) {
stream += "-${pipecfg.hotfix.name}"
}
pipeutils.trySlackSend(message: ":bullettrain_front: release <${env.BUILD_URL}|#${env.BUILD_NUMBER}> [${stream}][${basearches.join(' ')}] (${params.VERSION})")
pipeutils.trySlackSend(message: ":bullettrain_front: release :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> [${stream}][${basearches.join(' ')}] (${params.VERSION})")
}}} // try-catch-finally, cosaPod and lock finish here
2 changes: 1 addition & 1 deletion jobs/upload-brew.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ lock(resource: "upload-brew") {
def message = "[${params.STREAM}][${basearches.join(' ')}] (${params.VERSION})"
echo message
if (currentBuild.result != 'SUCCESS') {
pipeutils.trySlackSend(message: ":beer: brew-upload <${env.BUILD_URL}|#${env.BUILD_NUMBER}> ${message}")
pipeutils.trySlackSend(message: ":beer: brew-upload :jenkins:<${env.BUILD_URL}|${env.BUILD_NUMBER}> :ocean:<${env.RUN_DISPLAY_URL}|${env.BUILD_NUMBER}> ${message}")
}
}
}}} // timeout, cosaPod, and lock finish here

0 comments on commit 39e6fac

Please sign in to comment.