diff options
author | 2018-04-27 23:12:44 +0200 | |
---|---|---|
committer | 2018-04-28 00:18:10 +0200 | |
commit | 2353fe40cad9d9cc230f0617c879100f5b484bf3 (patch) | |
tree | 08bdd1cd15bfafa867642e712840b43abc7a63ee /jjb/common/include-xds-build-common.sh | |
parent | 6857c02981667d84241ba8f232396071c530eeb1 (diff) |
Add template for build of xds-server in CI
Change-Id: I15fe3da53ef882657161111cfb179cf8307778a1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-xds-build-common.sh')
-rw-r--r-- | jjb/common/include-xds-build-common.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/jjb/common/include-xds-build-common.sh b/jjb/common/include-xds-build-common.sh new file mode 100644 index 00000000..90033bc9 --- /dev/null +++ b/jjb/common/include-xds-build-common.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# (c) 2018 Jan-Simon Moeller <jsmoeller@linuxfoundation.org> +# License: GPLv2 + + +ROOTDIR=`pwd` +rm -rf $ROOTDIR/src || true +mkdir -p $ROOTDIR/src/gerrit.automotivelinux.org/gerrit/xds +cd $ROOTDIR/src/gerrit.automotivelinux.org/gerrit/src/xds +git clone https://gerrit.automotivelinux.org/gerrit/${GERRIT_PROJECT} +cd ${PROJECT_TO_BUILD} +export V=1 +make package-all + +cd $ROOTDIR +tree + |