Change in osmo-ci[master]: master-builds: use jenkins.sh --publish

osmith gerrit-no-reply at lists.osmocom.org
Thu Nov 29 16:04:02 UTC 2018


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


Change subject: master-builds: use jenkins.sh --publish
......................................................................

master-builds: use jenkins.sh --publish

Add --publish to the contrib/jenkins.sh calls for each Osmocom project,
where PDF manuals should be published. As this parameter is only passed
to jenkins.sh from the master-builds job, not from the
gerrit-verification job, we can add logic to upload the generated PDFs
when getting triggered because of changes in master.

Related: OS#3385
Change-Id: I3cc01dbc57213b6d6cdc9b394a516510d045f1ae
---
M jobs/master-builds.yml
1 file changed, 13 insertions(+), 8 deletions(-)



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

diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index 6b07694..67a9b80 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -16,7 +16,7 @@
     a3: !!python/tuple [default]
     combination_filter: ''
     sequential: false
-    # most common build invocation
+    # most common build invocation (--publish is added to publish manual PDFs)
     cmd: ./contrib/jenkins.sh
     wrappers: []
     trigger:
@@ -82,6 +82,7 @@
             master-osmo-iuh,
             master-osmo-msc,
             master-osmo-sgsn
+          cmd: ./contrib/jenkins.sh --publish
 
       - libosmocore:
           a1_name: arch
@@ -174,7 +175,7 @@
               -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
               -w /build -i -u build \
               -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
-              osmocom:amd64 /build/contrib/jenkins.sh
+              osmocom:amd64 /build/contrib/jenkins.sh --publish
 
       - osmo-bts:
           a1_name: FIRMWARE_VERSION
@@ -190,12 +191,12 @@
             (FIRMWARE_VERSION == "superfemto_v5.1" && BTS_MODEL == "sysmo") ||
             (FIRMWARE_VERSION == "v2017.01" && BTS_MODEL == "lc15") ||
             (FIRMWARE_VERSION == "origin/nrw/litecell15" && BTS_MODEL == "lc15")
-          cmd: './contrib/jenkins_bts_model.sh "$BTS_MODEL"'
+          cmd: './contrib/jenkins_bts_model.sh "$BTS_MODEL" --publish'
 
       - osmo-ggsn:
           a1_name: GTP
           a1: !!python/tuple [--enable-gtp-linux,--disable-gtp-linux]
-          cmd: GTP="$GTP" ./contrib/jenkins.sh
+          cmd: GTP="$GTP" ./contrib/jenkins.sh --publish
           trigger: master-osmo-sgsn
 
       - osmo-gmr:
@@ -207,7 +208,8 @@
            # keep first line with less indent to preserve newlines
             ./contrib/jenkins.sh
 
-      - osmo-hlr
+      - osmo-hlr:
+          cmd: ./contrib/jenkins.sh --publish
 
       - osmo-iuh:
           # Full triggers would be:
@@ -233,7 +235,7 @@
               -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
               -w /build -i -u build \
               -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
-              osmocom:amd64 /build/contrib/jenkins.sh
+              osmocom:amd64 /build/contrib/jenkins.sh --publish
           trigger: master-osmo-msc, master-osmo-bsc
 
       - osmo-msc:
@@ -256,7 +258,7 @@
               -w /build -u build \
               -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
               -v "$ARTIFACT_STORE:/artifact_store" \
-              osmocom:amd64 /build/contrib/jenkins.sh
+              osmocom:amd64 /build/contrib/jenkins.sh --publish
 
       - osmo-pcap
 
@@ -279,6 +281,7 @@
             (with_vty == "True" && with_dsp == "lc15" && FIRMWARE_VERSION=="v2017.01") ||
             (with_vty == "True" && with_dsp == "lc15" && FIRMWARE_VERSION=="origin/nrw/litecell15") ||
             (with_vty == "False" && with_dsp == "none" && FIRMWARE_VERSION=="master")
+          cmd: ./contrib/jenkins.sh --publish
 
       - osmo-sgsn:
           a1_name: IU
@@ -295,10 +298,11 @@
               -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
               -w /build -i -u build \
               -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
-              osmocom:amd64 /build/contrib/jenkins.sh
+              osmocom:amd64 /build/contrib/jenkins.sh --publish
 
       - osmo-sip-connector:
           email: gerrit-log at lists.osmocom.org laforge at gnumonks.org holger at freyther.de
+          cmd: ./contrib/jenkins.sh --publish
 
       - osmo-tetra:
           email: gerrit-log at lists.osmocom.org laforge at gnumonks.org 246tnt at gmail.com
@@ -309,6 +313,7 @@
           # a1: !!python/tuple [--with-sse, --with-neon, --with-neon-vfpv4]
           a1: !!python/tuple [--with-sse]
           concurrent: true
+          cmd: ./contrib/jenkins.sh --publish
 
       - osmocom-bb
       - osmo-sysmon

-- 
To view, visit https://gerrit.osmocom.org/12012
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: I3cc01dbc57213b6d6cdc9b394a516510d045f1ae
Gerrit-Change-Number: 12012
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/20181129/fcdfbac0/attachment.html>


More information about the gerrit-log mailing list