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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Thu May 23 06:23:52 UTC 2019


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/14138


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".

[1] https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_nightly/98/

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



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/38/14138/1

diff --git a/jobs/osmocom-obs.yml b/jobs/osmocom-obs.yml
index 84a4710..5ed67b4 100644
--- a/jobs/osmocom-obs.yml
+++ b/jobs/osmocom-obs.yml
@@ -19,11 +19,19 @@
         </ul>
         (Generated by job-builder)
     node: obs
+    parameters:
+      - string:
+          name: BRANCH
+          description: |
+                osmo-ci.git branch
+          default: '*/master'
     builders:
       - shell:
           ./scripts/osmocom-{type}-packages.sh
     scm:
       - git:
+          branches:
+            - '$BRANCH'
           url: git://git.osmocom.org/osmo-ci
           git-config-name: 'Jenkins Builder'
           git-config-email: 'jenkins at osmocom.org'

-- 
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: newchange
Gerrit-Change-Id: I6d1f0e70d5c82ffd551d00ffdf2712cbfaec16cf
Gerrit-Change-Number: 14138
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190523/fd427965/attachment.htm>


More information about the gerrit-log mailing list