aboutsummaryrefslogtreecommitdiff
path: root/trigger-lkft-hikey-4.14.yaml
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2020-08-31 23:36:15 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2020-08-31 23:37:37 +0800
commitc96ac363cd4f3025f63a39f6ebdaa2446026245d (patch)
treee0b911841e3453a860d8cc6ff6e5f47228db590c /trigger-lkft-hikey-4.14.yaml
parentb0ac11a1ddd39976c50f978c3a2f286bf5ef3973 (diff)
trigger-lkft-hikey-4.14.yaml: fix wrong describe problem
need to set MAKE_KERNELVERSION first Change-Id: Ie63bbcfccbb8e4783c91c3633b5cf0d549e3ca18 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'trigger-lkft-hikey-4.14.yaml')
-rw-r--r--trigger-lkft-hikey-4.14.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/trigger-lkft-hikey-4.14.yaml b/trigger-lkft-hikey-4.14.yaml
index cecb0638b2..eb0e70aee3 100644
--- a/trigger-lkft-hikey-4.14.yaml
+++ b/trigger-lkft-hikey-4.14.yaml
@@ -10,6 +10,9 @@
anonymous:
- job-read
- job-extended-read
+ linaro:
+ - job-build
+ - job-cancel
parameters:
- string:
name: KERNEL_BRANCH
@@ -40,10 +43,11 @@
builders:
- shell: |
#!/bin/bash -e
+ MAKE_KERNELVERSION=$(make kernelversion)
KERNEL_DESCRIBE=${MAKE_KERNELVERSION}-${GIT_COMMIT:0:12}
echo KERNEL_DESCRIBE=${KERNEL_DESCRIBE} > lkft_parameters
echo SRCREV_kernel=${GIT_COMMIT} >> lkft_parameters
- echo MAKE_KERNELVERSION=$(make kernelversion) >> lkft_parameters
+ echo MAKE_KERNELVERSION=${MAKE_KERNELVERSION} >> lkft_parameters
cat lkft_parameters
publishers:
- trigger-parameterized-builds: