aboutsummaryrefslogtreecommitdiff
path: root/trigger-lkft-hikey-aosp-4.9.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-07-04 12:29:14 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2017-07-04 13:32:54 +0300
commit2d42fef6599941c332fdd6b1627665410e66e770 (patch)
tree74531e66b97d05678445c0540d17114f349c1273 /trigger-lkft-hikey-aosp-4.9.yaml
parent985617a65044434706e32c8aef6336ed60260ede (diff)
downloadconfigs-2d42fef6599941c332fdd6b1627665410e66e770.tar.gz
trigger-lkft-hikey-aosp: add linux-stable remote
android branches don't contain the upstream stable tags. Add a git remote URL to fetch the tags and get a proper git describe output. e.g. v4.9.34-638132-g367b0da79ded KERNEL_DESCRIBE becomes a parameter for openembedded-lkft-aosp-4.x build jobs. They are now parametrized triggered. Change-Id: Ia4a65f7374bdb25b00bebe242960d57da4122b86 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'trigger-lkft-hikey-aosp-4.9.yaml')
-rw-r--r--trigger-lkft-hikey-aosp-4.9.yaml21
1 files changed, 17 insertions, 4 deletions
diff --git a/trigger-lkft-hikey-aosp-4.9.yaml b/trigger-lkft-hikey-aosp-4.9.yaml
index 4b0912b27..fe997b8fa 100644
--- a/trigger-lkft-hikey-aosp-4.9.yaml
+++ b/trigger-lkft-hikey-aosp-4.9.yaml
@@ -19,13 +19,17 @@
display-name: 'Trigger for LKFT HiKey builds'
scm:
- git:
- url: https://android.googlesource.com/kernel/hikey-linaro
- refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
- name: origin
+ remotes:
+ - android-hikey-linaro-4.9:
+ url: https://android.googlesource.com/kernel/hikey-linaro
+ refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
+ - linux-stable-4.9:
+ url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
+ refspec: +refs/heads/linux-4.9.y:refs/remotes/origin/linux-4.9.y
branches:
- origin/${KERNEL_BRANCH}
skip-tag: true
- shallow-clone: true
+ shallow-clone: false
wipe-workspace: false
triggers:
- pollscm: 'H/5 * * * *'
@@ -34,7 +38,16 @@
- build-name:
name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
builders:
+ - shell: |
+ #!/bin/bash -e
+ echo KERNEL_DESCRIBE=$(git describe --always) > lkft_parameters
+ cat lkft_parameters
- trigger-builds:
- project:
- 'lkft-hikey-aosp-4.9'
+ publishers:
+ - trigger-parameterized-builds:
+ - project:
- 'openembedded-lkft-aosp-4.9'
+ condition: SUCCESS
+ property-file: lkft_parameters