diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2017-09-19 23:33:03 +0200 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2017-09-19 23:38:39 +0200 |
commit | d80a5fd4b9a6aff8e9f68ea38d9f15790aa0701a (patch) | |
tree | c968f3a8fd443a485c6684b5c104b9f7ffc54add /lt-qcom-linux.yaml | |
parent | 20de8f5e946906495bb6f08f080b2362292a7624 (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 'lt-qcom-linux.yaml')
-rw-r--r-- | lt-qcom-linux.yaml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lt-qcom-linux.yaml b/lt-qcom-linux.yaml index e15453f027..7e716668b8 100644 --- a/lt-qcom-linux.yaml +++ b/lt-qcom-linux.yaml @@ -14,12 +14,22 @@ linaro-landing-team-qualcomm-personnel: - job-build - job-cancel + parameters: + - string: + name: KERNELREPO + default: 'https://git.linaro.org/landing-teams/working/qualcomm/kernel.git' + - string: + name: KERNELRELEASE + - string: + name: KERNELVERSION + - string: + name: KERNELBRANCH disabled: false node: docker-jessie-amd64 display-name: 'Qualcomm LT Linux kernel build' scm: - git: - url: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git + url: ${KERNELREPO} refspec: +refs/heads/${KERNELBRANCH}:refs/remotes/origin/${KERNELBRANCH} name: origin branches: |