Skip to content
Permalink
Browse files

Change pipeline notification for Jenkins appliance builds.

  • Loading branch information
Mason Packard
Mason Packard committed Sep 13, 2016
1 parent 3c79a6c commit bbba38536495ac93c8273d9bf29b258cdbb425ce
Showing with 8 additions and 8 deletions.
  1. +8 −8 Jenkinsfile
@@ -16,8 +16,8 @@ node('packer') {
performBuild("grouper")
} else if (BRANCH_TEST=="comanage-production"){
performBuild("comanage")
}
}

}

def performBuild(String project){
@@ -61,15 +61,15 @@ def performBuild(String project){
stage 'Sync appliances to S3 bucket'

sh "aws s3 sync builds s3://internet2-tier-appliance-us-west-1"

stage 'Publish results'

sh "bin/perms.sh > results.txt"

slackSend color: 'good', message: "BUILD SUCCESS: Shibboleth Appliance build success. ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL} |Open>)"
slackSend color: 'good', message: "BUILD SUCCESS: Appliance build success. ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL} |Open>)"

slackSend color: 'good', message: readFile('./results.txt')

sh "rm results.txt"

}
@@ -85,4 +85,4 @@ def handleError(String message){
slackSend color: 'danger', message: "${message}"
//step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 'chris.bynum@levvel.io', sendToIndividuals: true])
sh 'exit 1'
}
}

0 comments on commit bbba385

Please sign in to comment.
You can’t perform that action at this time.