Issue Type: Bug Bug
Affects Versions: current
Assignee: Nicolas De Loof
Components: git
Created: 03/Jun/14 11:30 AM
Description:

We have a shell script driven build, that uses the value of GIT_BRANCH to figure out what branch we are building. This works fine for a simple configuration with one branch configured.

Recently, I added a 'Merge before build' step to the configuration, so a specific topic branch is merged into master before building. This results in GIT_BRANCH being unset. I was expecting it to be set to the branch, that is being merged into (e.g. master), since that is still the branch that should be tracked for changes.

How can I pass branch information into a shell script when using 'Merge before build'?

Project: Jenkins
Priority: Major Major
Reporter: T.B. Anton
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to