https://bugzilla.wikimedia.org/show_bug.cgi?id=46723

--- Comment #11 from Antoine "hashar" Musso <has...@free.fr> ---
The branch specifier in the git plugin is set to ZUUL_BRANCH which is 'master'. 

In the git plugin (at
git-plugin/src/main/java/hudson/plugins/git/util/DefaultBuildChooser.java ),
the getCandidateRevisions() will recognize whether the branch looks like a sha1
(if it matches /[0-9a-f]{6,40}/) and in such a case will create a detached
branch using that commit.

Seems the Jenkins job macro should then use ZUUL_COMMIT as a branch specifier.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to