diff options
author | Max <msuraev@sysmocom.de> | 2017-06-22 19:49:58 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-08-18 18:08:31 +0000 |
commit | b78fc1eeee3b8d3a5e7b00e0f8bd89a844123c26 (patch) | |
tree | f74d013ee9e52a9a6ff43fde1efdb63142a865df /contrib/jenkins_oct.sh | |
parent | 69ec4a419edee4f00a104c59a78b530eaf85382a (diff) |
Simplify jenkins build scripts
* move duplicated code into separate functions in jenkins_common.sh
* use that function in individual builds
Change-Id: I4d09c5f2693b5ac0a4d8f2c840971e13d1ec58cf
Diffstat (limited to 'contrib/jenkins_oct.sh')
-rwxr-xr-x | contrib/jenkins_oct.sh | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/contrib/jenkins_oct.sh b/contrib/jenkins_oct.sh index b3dc07fd..8a351c53 100755 --- a/contrib/jenkins_oct.sh +++ b/contrib/jenkins_oct.sh @@ -13,21 +13,7 @@ osmo-build-dep.sh libosmo-abis cd "$deps" osmo-layer1-headers.sh oct "$FIRMWARE_VERSION" -cd "$base" -set +x -echo -echo -echo -echo " =============================== osmo-bts-octphy ===============================" -echo -set -x +configure_flags="--with-octsdr-2g=$deps/layer1-headers/ --enable-octphy" -autoreconf --install --force -./configure --with-openbsc="$deps/openbsc/openbsc/include" --with-octsdr-2g="$deps/layer1-headers/" --enable-octphy -$MAKE $PARALLEL_MAKE -$MAKE check \ - || cat-testlogs.sh -DISTCHECK_CONFIGURE_FLAGS="--with-octsdr-2g=$deps/layer1-headers/ --with-openbsc=$deps/openbsc/openbsc/include --enable-octphy" \ - $MAKE distcheck \ - || cat-testlogs.sh +build_bts "osmo-bts-octphy" "$configure_flags" |