However, with a lot of build setups, it is easiest to extract the identifier for the patchset as a single string "12345/5". You can get this out of the URI for a gerrit review, or from the ref in the Gerrit repo itself.
In my organization's build setup, the build configuration simply sees the branch as "12345/5".
Right now, we use a separate build step that splits this by the "/" and sets two build parameters for the changeId and revisionId. However, it would simplify the setup if we could just pass in --changeId 12345/5.
Right now, Sputnik requires two parameters, the changeId and commitId to report to Gerrit:
It turns out you can also use the change and revision's numeric ids
However, with a lot of build setups, it is easiest to extract the identifier for the patchset as a single string "12345/5". You can get this out of the URI for a gerrit review, or from the ref in the Gerrit repo itself.
In my organization's build setup, the build configuration simply sees the branch as "12345/5".
Right now, we use a separate build step that splits this by the "/" and sets two build parameters for the changeId and revisionId. However, it would simplify the setup if we could just pass in
--changeId 12345/5
.