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

Reintroduce slack notifications #99

Merged
merged 3 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions aida-db_testing/autogen-mainnet.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,12 @@ pipeline {

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "$currentBuild.absoluteUrl")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "aida")
]
}
}
Expand Down
5 changes: 3 additions & 2 deletions aida-db_testing/autogen-testnet.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,12 @@ pipeline {

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "$currentBuild.absoluteUrl")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "aida")
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion aida-db_testing/integration-mainnet-tests.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ pipeline {
post {
always {
script {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
Expand Down
2 changes: 1 addition & 1 deletion aida-db_testing/integration-testnet-tests.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pipeline {
post {
always {
script {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
Expand Down
2 changes: 1 addition & 1 deletion aida-db_testing/pre-release-mainnet.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pipeline {

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
Expand Down
2 changes: 1 addition & 1 deletion aida-db_testing/pre-release-testnet.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pipeline {

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pipeline {

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
Expand Down
8 changes: 3 additions & 5 deletions carmen/race-detection.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,15 @@ pipeline {
}
}

//todo
/*
post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "$currentBuild.absoluteUrl")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "carmen")
]
}
}
*/
}
8 changes: 4 additions & 4 deletions carmen/stable.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,16 @@ pipeline {
}
}
}
/*

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "${currentBuild.absoluteUrl}")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "carmen")
]
}
}
*/
}
8 changes: 4 additions & 4 deletions carmen/stress-test.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ pipeline {
}
}
}
/*

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "$currentBuild.absoluteUrl")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "carmen")
]
}
}
*/
}
12 changes: 12 additions & 0 deletions carmen/sync_toolchain.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,16 @@ pipeline {
}
}
}

post {
always {
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "carmen")
]
}
}
}
8 changes: 4 additions & 4 deletions carmen/validate-cpp-file-s3.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ pipeline {
}
}
}
/*

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "$currentBuild.absoluteUrl")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "carmen")
]
}
}
*/
}
8 changes: 4 additions & 4 deletions carmen/validate-go-file-s3.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ pipeline {
}
}
}
/*

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "$currentBuild.absoluteUrl")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "carmen")
]
}
}
*/
}
8 changes: 4 additions & 4 deletions carmen/validate-go-s4.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ pipeline {
}
}
}
/*

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "$currentBuild.absoluteUrl")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "carmen")
]
}
}
*/
}
8 changes: 4 additions & 4 deletions carmen/validate-go-s5-archive.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ pipeline {
}
}
}
/*

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "$currentBuild.absoluteUrl")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "carmen")
]
}
}
*/
}
8 changes: 4 additions & 4 deletions carmen/validate-go-s5.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ pipeline {
}
}
}
/*

post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "$currentBuild.absoluteUrl")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "carmen")
]
}
}
*/
}
94 changes: 0 additions & 94 deletions notifications/notifications.jenkinsfile

This file was deleted.

7 changes: 3 additions & 4 deletions release_testing/functional_tests/F01.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,15 @@ pipeline {
}
}

/*
post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "${currentBuild.absoluteUrl}")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "aida")
]
}
}
*/
}
7 changes: 3 additions & 4 deletions release_testing/functional_tests/F02-F05.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,15 @@ pipeline {
}
}

/*
post {
always {
build job: '/Notifications/slack-notification-pipeline', parameters: [
build job: '/Notifications/slack-notification', parameters: [
string(name: 'result', value: "${currentBuild.result}"),
string(name: 'name', value: "${currentBuild.fullDisplayName}"),
string(name: 'duration', value: "${currentBuild.duration}"),
string(name: 'url', value: "${currentBuild.absoluteUrl}")
string(name: 'url', value: "${currentBuild.absoluteUrl}"),
string(name: 'user', value: "aida")
]
}
}
*/
}
Loading
Loading