I'd like find out the following things from a multibranch pipeline script 
associated with a github scm provider

   - Is this build happening for a branch or a pull request?
   - If it is for a pull request, then I need to know these as well
      - Commit-id of the tip of pull request
      - Commit-id of the merge target
      - Which branch is the destination for merging the pull request?
      - Is the pull request originating from a forked repo or branch on the 
      same repo?
   

Would it be possible to find all of these from the scm variable? If so how?

PS: complete documentation on what the scm variable contains would be useful

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bd5746c5-091e-445d-ae16-1441528020b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to