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.orgosmith has submitted this change and it was merged. ( https://gerrit.osmocom.org/12076 ) Change subject: contrib/jenkins_*.sh: build and publish manuals ...................................................................... contrib/jenkins_*.sh: build and publish manuals Add new environment variables WITH_MANUALS and PUBLISH to control if the manuals should be built and uploaded. Describe all environment vars on top of jenkins_bts_model.sh. Change the top description line to look like all the other contrib/jenkins.sh files (from other repositories), so it is clear that this is the entry point of Jenkins (and not the other contrib/jenkins_*.sh scripts). When WITH_MANUALS is set, install osmo-gsm-manuals like any other dependency and add --enable-manuals to the configure flags (for "make" and "make distcheck"). Add the bin subdir of the installed files to PATH, so osmo-gsm-manuals-check-depends can be used by ./configure. Related: OS#3385 Change-Id: If51194cc595bd8cf1081b35ab0e1a5ddcd448860 --- M contrib/jenkins_bts_model.sh M contrib/jenkins_common.sh 2 files changed, 23 insertions(+), 2 deletions(-) Approvals: Jenkins Builder: Verified Pau Espin Pedrol: Looks good to me, approved diff --git a/contrib/jenkins_bts_model.sh b/contrib/jenkins_bts_model.sh index 9aa943f..ac85c30 100755 --- a/contrib/jenkins_bts_model.sh +++ b/contrib/jenkins_bts_model.sh @@ -1,6 +1,14 @@ #!/bin/sh -# this is a dispatcher script which will call the bts-model-specific -# script based on the bts model specified as command line argument +# jenkins build helper script for osmo-bts. This is how we build on jenkins.osmocom.org +# +# environment variables: +# * FIRMWARE_VERSION: which firmware version to build ("master", "femtobts_v2.7", ...) +# * WITH_MANUALS: build manual PDFs if set to "1" +# * PUBLISH: upload manuals after building if set to "1" (ignored without WITH_MANUALS = "1") +# +# usage: jenkins_bts_model.sh BTS_MODEL +# * BTS_MODEL: which BTS model specific script to run ("sysmo", "oct", ...) +# bts_model="$1" diff --git a/contrib/jenkins_common.sh b/contrib/jenkins_common.sh index bdb12d5..fd0359b 100644 --- a/contrib/jenkins_common.sh +++ b/contrib/jenkins_common.sh @@ -38,10 +38,23 @@ osmo-deps.sh libosmocore cd $base shift + + # Manuals: build conf_flags="$*" + if [ "$WITH_MANUALS" = "1" ]; then + conf_flags="$conf_flags --enable-manuals" + osmo-build-dep.sh osmo-gsm-manuals + export PATH="$inst/bin:$PATH" + fi + autoreconf --install --force ./configure $conf_flags $MAKE $PARALLEL_MAKE $MAKE check || cat-testlogs.sh DISTCHECK_CONFIGURE_FLAGS="$conf_flags" $MAKE distcheck || cat-testlogs.sh + + # Manuals: publish + if [ "$WITH_MANUALS" = "1" ] && [ "$PUBLISH" = "1" ]; then + $MAKE -C "$base/doc/manuals" publish + fi } -- To view, visit https://gerrit.osmocom.org/12076 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: If51194cc595bd8cf1081b35ab0e1a5ddcd448860 Gerrit-Change-Number: 12076 Gerrit-PatchSet: 4 Gerrit-Owner: osmith <osmith at sysmocom.de> Gerrit-Reviewer: Jenkins Builder (1000002) 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/20181205/010a2c22/attachment.htm>