Skip to content

Commit

Permalink
more verbose for the build wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Nov 20, 2019
1 parent 6a6536a commit 4bbf416
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vars/build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def getRedirectLink(obj, jobName) {
} else if(obj instanceof org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper) {
buildNumber = obj.getNumber()
} else {
log(level: 'INFO', text: "wrapper class: ${obj?.getClass()}")
return "Can not determine redirect link!!!"
}
return "For detailed information see: ${env.JENKINS_URL}job/${jobName.replaceAll('/', '/job/')}/${buildNumber}/display/redirect"
Expand Down

0 comments on commit 4bbf416

Please sign in to comment.