diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-07-04 14:48:36 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-07-07 07:20:50 +0000 |
commit | eeac6980d65a83035eae766e20145cc8a320e461 (patch) | |
tree | 19ab334bd43ea9077b7af4126c0dbc3684400b10 /trigger-lkft-hikey-aosp-4.4.yaml | |
parent | 76ddd68f7ffd283368848be3d4db82963c29ac3a (diff) |
openembedded-lkft: promote KERNEL_DESCRIBE and SRCREV_kernel to job parameters
The build triggers have already all the git describe and commit for each
kernel. Instead of computing them in the build job, pass them from the
trigger job to the downstream job. As a result, KERNEL_DESCRIBE and
SRCREV_kernel are now job parameters.
As a side effect, it allows to simplify build-name-setter and directly use
SRCREV_kernel variable.
Change-Id: I01c823259fa98484cd27ef163a66327a694262a1
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'trigger-lkft-hikey-aosp-4.4.yaml')
-rw-r--r-- | trigger-lkft-hikey-aosp-4.4.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trigger-lkft-hikey-aosp-4.4.yaml b/trigger-lkft-hikey-aosp-4.4.yaml index 39c544e454..b40ba5ea3b 100644 --- a/trigger-lkft-hikey-aosp-4.4.yaml +++ b/trigger-lkft-hikey-aosp-4.4.yaml @@ -41,6 +41,7 @@ - shell: | #!/bin/bash -e echo KERNEL_DESCRIBE=$(git describe --always) > lkft_parameters + echo SRCREV_kernel=${GIT_COMMIT} >> lkft_parameters cat lkft_parameters - trigger-builds: - project: |