aboutsummaryrefslogtreecommitdiff
path: root/trigger-lt-qcom-linux-4.9.0.yaml
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-09-19 23:33:03 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-09-19 23:38:39 +0200
commitd80a5fd4b9a6aff8e9f68ea38d9f15790aa0701a (patch)
treec968f3a8fd443a485c6684b5c104b9f7ffc54add /trigger-lt-qcom-linux-4.9.0.yaml
parent20de8f5e946906495bb6f08f080b2362292a7624 (diff)
lt-qcom-linux: improve parameters
trigger-lt-qcom-linux: * we need tags so that "git describe" gives something useful * we strip 'origin/' from the branch name since it's not needed * we convert the kernel version into a kernel 'ABI', e.g. 4.9.47 -> 4.9.0 lt-qcom-linux: * add empty params for the params sent by trigger, so that we can run the job manually as well * add param for kernel repo Change-Id: Ia0002cf828b7d55b381bfd4116a48ab08ec4b033 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'trigger-lt-qcom-linux-4.9.0.yaml')
-rw-r--r--trigger-lt-qcom-linux-4.9.0.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/trigger-lt-qcom-linux-4.9.0.yaml b/trigger-lt-qcom-linux-4.9.0.yaml
index e8287d33..1f2e0a38 100644
--- a/trigger-lt-qcom-linux-4.9.0.yaml
+++ b/trigger-lt-qcom-linux-4.9.0.yaml
@@ -23,7 +23,7 @@
name: origin
branches:
- refs/heads/release/qcomlt-4.9
- skip-tag: true
+ skip-tag: false
shallow-clone: true
wipe-workspace: false
triggers:
@@ -36,8 +36,8 @@
- shell: |
#!/bin/bash -e
echo KERNELRELEASE=$(git describe --always) > qcomlt_parameters
- echo KERNELVERSION=$(make kernelversion) >> qcomlt_parameters
- echo KERNELBRANCH=${GIT_BRANCH} >> qcomlt_parameters
+ echo KERNELVERSION=$(make kernelversion | sed 's/\(.*\)\..*/\1.0/') >> qcomlt_parameters
+ echo KERNELBRANCH=$(echo ${GIT_BRANCH} | sed 's|origin/||') >> qcomlt_parameters
cat qcomlt_parameters
publishers:
- trigger-parameterized-builds: