Change in osmo-sip-connector[master]: contrib/jenkins.sh: build and publish manuals

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
Mon Dec 3 10:46:53 UTC 2018


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


Change subject: contrib/jenkins.sh: build and publish manuals
......................................................................

contrib/jenkins.sh: build and publish manuals

Install osmo-gsm-manuals like any other dependency. Add the bin subdir
of the installed files to PATH, so osmo-gsm-manuals-check-depends can
be used by ./configure --enable-manuals.

Add optional --publish parameter to contrib/jenkins.sh to be used by
the master-builds jenkins job. It will automatically upload the newly
generated PDFs when commits land in master.

Related: OS#3385
Change-Id: I4cf9d3c21f3912eac3c51bae1ac7b2ad0845c947
---
M contrib/jenkins.sh
1 file changed, 12 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sip-connector refs/changes/74/12074/1

diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 00cd5ff..bed1f04 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -2,6 +2,10 @@
 
 set -ex
 
+# gerrit-verifications.yml: leaves this empty
+# master-builds.yml: sets this to "--publish"
+publish="$1"
+
 base="$PWD"
 deps="$base/deps"
 inst="$deps/install"
@@ -17,6 +21,9 @@
 
 export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
 export LD_LIBRARY_PATH="$inst/lib"
+export PATH="$inst/bin:$PATH"
+
+osmo-build-dep.sh osmo-gsm-manuals
 
 set +x
 echo
@@ -27,11 +34,15 @@
 set -x
 
 autoreconf --install --force
-./configure --enable-werror --enable-vty-tests --enable-external-tests
+./configure --enable-werror --enable-vty-tests --enable-external-tests --enable-manuals
 $MAKE $PARALLEL_MAKE
 $MAKE check \
   || cat-testlogs.sh
 $MAKE distcheck \
   || cat-testlogs.sh
 
+if [ "$publish" = "--publish" ]; then
+	make -C "$base/doc/manuals" publish
+fi
+
 osmo-clean-workspace.sh

-- 
To view, visit https://gerrit.osmocom.org/12074
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4cf9d3c21f3912eac3c51bae1ac7b2ad0845c947
Gerrit-Change-Number: 12074
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/20181203/676b5687/attachment.htm>


More information about the gerrit-log mailing list