Access github pull request source branch name from Jenkinsfile

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Access github pull request source branch name from Jenkinsfile

Herb Brewer
Hi,

I'm using Jenkins ver. 2.89.3, is there any way to Access github pull request source branch name (title) from Jenkinsfile (Multibranch Pipeline)

Thanks.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b32d8381-40ae-4a9d-8bfb-54e9466abf66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Access github pull request source branch name from Jenkinsfile

stephenconnolly

CHANGE_BRANCH is probably what you are after

On Sat 20 Jan 2018 at 11:53, Herb Brewer <[hidden email]> wrote:
Hi,

I'm using Jenkins ver. 2.89.3, is there any way to Access github pull request source branch name (title) from Jenkinsfile (Multibranch Pipeline)

Thanks.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b32d8381-40ae-4a9d-8bfb-54e9466abf66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyzAj%3DDNXHUJiTVpayc6Km_-sw2KMNhU57S4dXZzDLDaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.