diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2015-05-25 09:11:51 +0200 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2015-05-25 09:11:51 +0200 |
commit | d25ba46e0d04563bf08c553973c1e53da2eeeb60 (patch) | |
tree | 398388713280e9111b6d80c0cac749ee0cca6f95 /lt-qcom-db410c-bootloader.yaml | |
parent | e9175f8e457a93dbcdc7646fc40c94fe858e866c (diff) |
lt-qcom-db410c-bootloader: add job parameter for branch to build
* allows to build another branch than master, if needed.
Change-Id: I004629367b8bb91e3fd069cf17865371b165d405
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'lt-qcom-db410c-bootloader.yaml')
-rw-r--r-- | lt-qcom-db410c-bootloader.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lt-qcom-db410c-bootloader.yaml b/lt-qcom-db410c-bootloader.yaml index 58c9d2e4d9..66d8812601 100644 --- a/lt-qcom-db410c-bootloader.yaml +++ b/lt-qcom-db410c-bootloader.yaml @@ -12,6 +12,9 @@ - job-build - job-cancel parameters: + - string: + name: BRANCH + default: 'master' - password: name: PRIVATE_KEY default: ${LT_QUALCOMM_PRIVATE_KEY} @@ -76,7 +79,9 @@ EOF chmod 0600 ~/.ssh/* - git clone --depth 1 ssh://dev-private-git.linaro.org/landing-teams/working/qualcomm/db410c_bootloader.git ${WORKSPACE} + git clone --depth 1 ssh://dev-private-git.linaro.org/landing-teams/working/qualcomm/db410c_bootloader.git -b ${BRANCH} ${WORKSPACE} + # record commit info in build log + git log ./build # Final preparation for publishing |