Issue Type: Improvement Improvement
Assignee: Nicolas De Loof
Components: git
Created: 11/Mar/13 9:54 AM
Description:

GIT_BRANCH is an environment value used to indicate which branch is being built.

it happens often for me that Jenkins picks up a revision to build that is a repository HEAD.

Log:
Commencing build of Revision xxxhashxxx (local/HEAD, local/real-branch-name)

Exposing 'HEAD' as value of environment variable GIT_BRANCH makes no sense since it is not stable and it does not identify any real branch.

If, for some reason, GIT_BRANCH should be HEAD sometimes - there should be another environment value that would expose name of 'named branch' being built.

Project: Jenkins
Priority: Major Major
Reporter: Tomasz Bartczak
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to