ci labels PRs with GH title

This commit is contained in:
Michael Kirk 2019-01-10 13:49:07 -07:00
parent d58ffed11b
commit 0795fc9118
1 changed files with 6 additions and 0 deletions

6
Jenkinsfile vendored
View File

@ -11,6 +11,12 @@ pipeline {
stages {
stage('env setup') {
steps {
script {
// CHANGE_ID is set only for pull requests, so it is safe to access the pullRequest global variable
if (env.CHANGE_ID) {
currentBuild.displayName = "PR #${pullRequest.number}: ${pullRequest.title}"
}
}
sh 'make setup'
}
}