Change in osmo-ci[master]: jobs/osmocom-obs.yml: set default git branch

osmith gerrit-no-reply at lists.osmocom.org
Thu May 23 11:08:30 UTC 2019


Hello Pau Espin Pedrol, Harald Welte, 

I'd like you to reexamine a change. Please visit

    https://gerrit.osmocom.org/14138

to look at the new patch set (#4).

Change subject: jobs/osmocom-obs.yml: set default git branch
......................................................................

jobs/osmocom-obs.yml: set default git branch

I was quite surprised, that the job used "osmith/pdfs-in-doc-subpackage"
instead of "master" today [1]. Fix this randomness by adding a branch
parameter that defaults to "master".

Interestingly, we have to set the default branch to
"refs/remotes/origin/master". When using "*/master" (like we do in other
jobs), Jenkins would still chose my branch over "origin/master", even
though mine does not have "master" in the name. I have also tried
"chosing-strategy: 'default'", in case it was using the gerrit strategy
for some reason (like in [2]), and setting 'refspec:', but both did not
have any effect.

[1] https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_nightly/98/
[2] https://issues.jenkins-ci.org/browse/JENKINS-26981

Change-Id: I6d1f0e70d5c82ffd551d00ffdf2712cbfaec16cf
---
M jobs/osmocom-obs.yml
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/38/14138/4
-- 
To view, visit https://gerrit.osmocom.org/14138
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6d1f0e70d5c82ffd551d00ffdf2712cbfaec16cf
Gerrit-Change-Number: 14138
Gerrit-PatchSet: 4
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190523/f4b1f6bf/attachment.html>


More information about the gerrit-log mailing list