diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-11-07 12:37:23 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-11-07 12:49:16 +0100 |
commit | cf00e8181097e32ff40dd69e1c15d7a0c9ea3a40 (patch) | |
tree | 27895a535feac0b6aaf0fbcedb6d85148c479410 /jjb/common/include-agl-repo.sh | |
parent | cb44fe25cc827eeb23a5681f2b34e66066644b0b (diff) |
Add generic jjb CI job for AGL
Change-Id: I8264fd08a6ea2348751c1c7ed15da1103fbf4272
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-repo.sh')
-rw-r--r-- | jjb/common/include-agl-repo.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/jjb/common/include-agl-repo.sh b/jjb/common/include-agl-repo.sh new file mode 100644 index 00000000..f95e3206 --- /dev/null +++ b/jjb/common/include-agl-repo.sh @@ -0,0 +1,23 @@ +# (c) 2016 Jan-Simon Moeller, dl9pf(at)gmx.de +# License: GPLv2 + +################################################################################ +## Main +################################################################################ + +# create shared downloads and sstate-cache directory +mkdir -p downloads +mkdir -p sstate-cache + +# remove old files, we want to test a fresh clone +export XTMP="$$" +mv repoclone repoclone$XTMP || true +( rm -rf repoclone$XTMP & ) || true +mkdir -p repoclone +cd repoclone + +repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo + +# next: repo sync and dump manifest +repo sync --force-sync --detach --no-clone-bundle + |