mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-22 06:17:48 +00:00
fix duplicate branch name in slack
This commit is contained in:
parent
5c476391da
commit
1fcedb8d16
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env groovy
|
#!/usr/bin/env groovy
|
||||||
|
|
||||||
slackSend "Building ${env.JOB_NAME}/${env.BRANCH_NAME} #${env.BUILD_NUMBER}"
|
slackSend "Building ${env.JOB_NAME} #${env.BUILD_NUMBER}"
|
||||||
parallel 'centos7': {
|
parallel 'centos7': {
|
||||||
node('centos7') {
|
node('centos7') {
|
||||||
try {
|
try {
|
||||||
@ -12,7 +12,7 @@ parallel 'centos7': {
|
|||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
currentBuild.result = "FAILURE"
|
currentBuild.result = "FAILURE"
|
||||||
slackSend color: '#ff0000', message: "${env.JOB_NAME}/${env.BRANCH_NAME} broken on Centos 7 (<${env.BUILD_URL}|Open>)"
|
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on Centos 7 (<${env.BUILD_URL}|Open>)"
|
||||||
|
|
||||||
throw err
|
throw err
|
||||||
}
|
}
|
||||||
@ -28,7 +28,7 @@ parallel 'centos7': {
|
|||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
currentBuild.result = "FAILURE"
|
currentBuild.result = "FAILURE"
|
||||||
slackSend color: '#ff0000', message: "${env.JOB_NAME}/${env.BRANCH_NAME} broken on Android NDK (<${env.BUILD_URL}|Open>)"
|
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on Android NDK (<${env.BUILD_URL}|Open>)"
|
||||||
|
|
||||||
throw err
|
throw err
|
||||||
}
|
}
|
||||||
@ -48,11 +48,11 @@ parallel 'centos7': {
|
|||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
currentBuild.result = "FAILURE"
|
currentBuild.result = "FAILURE"
|
||||||
slackSend color: '#ff0000', message: "${env.JOB_NAME}/${env.BRANCH_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on macOS (<${env.BUILD_URL}|Open>)"
|
||||||
|
|
||||||
throw err
|
throw err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
slackSend "${env.JOB_NAME}/${env.BRANCH_NAME} #${env.BUILD_NUMBER} Complete (<${env.BUILD_URL}|Show More...>)"
|
slackSend "${env.JOB_NAME} #${env.BUILD_NUMBER} Complete (<${env.BUILD_URL}|Show More...>)"
|
Loading…
Reference in New Issue
Block a user