On 2 August 2017 at 15:30, Nir Soffer <nsoffer(a)redhat.com> wrote:
Gil, can you explain the format used in the build parameters?
GERRIT_REFSPEC: refs/changes/01/80101/1:nir
GERRIT_BRANCH: nir
What is the magic "nir" branch?
This is just how git refspecs work, the 1st line tells git to take the
given remote ref and call it 'nir', the 2nd line tells it to check it
out to the working copy.
'refs/changes/01/80101/1' is just the way Gerrit stores patchsets:
refs/changes/<last 2 PN digits>/<patch number>/<patchset number>
You can see it in the download links Gerrit gives you.
--
Barak Korren
RHV DevOps team , RHCE, RHCi
Red Hat EMEA
redhat.com | TRIED. TESTED. TRUSTED. |
redhat.com/trusted