Re: Pipeline Multibranch jobs - Build User Vars Plugin

2019-01-27 Thread Eldad Cohen
Thanks I will give it a try -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web vis

Re: Pipeline Multibranch jobs - Build User Vars Plugin

2019-01-21 Thread Carles Capdevila Tejada
Hello Eldad, We have something like this working on our multibranch pipelines: hudson.model.Cause.UserIdCause userIdCause = (hudson.model.Cause.UserIdCause ) pipeline.currentBuild.getCause(hudson.model.Cause.UserIdCause.class) if(userIdCause) { String userName = userIdCause.getUserName()

Pipeline Multibranch jobs - Build User Vars Plugin

2019-01-14 Thread Eldad Cohen
Hi, wrap([$class: 'BuildUser']) { echo "${BUILD_USER}" } Is it possible with MultiBranch PipeLine ? Got No such property ? I just want info what triggered the build ? who did commit ? Thanks -- You received this message because you are subscribed to the Google Groups "Jenkin