diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2017-07-26 15:34:41 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2017-07-26 10:05:11 +0000 |
commit | cefff1dbf56038397a77ec7042f9fde7604c3a18 (patch) | |
tree | 10891df4e52abe0e6a3026b7a81e1e71115cc28f /bhoj-test.yaml | |
parent | 0a6b31939d63c1982937d5dad5d65261864bb116 (diff) |
bhoj: update test job
Change-Id: I5cbda933a32a226c7778337da9200f225825d6ad
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'bhoj-test.yaml')
-rw-r--r-- | bhoj-test.yaml | 58 |
1 files changed, 39 insertions, 19 deletions
diff --git a/bhoj-test.yaml b/bhoj-test.yaml index 5e0ddde6..a1868fa7 100644 --- a/bhoj-test.yaml +++ b/bhoj-test.yaml @@ -3,33 +3,53 @@ project-type: freestyle defaults: global logrotate: - daysToKeep: 60 - numToKeep: 60 + daysToKeep: 30 + numToKeep: 30 properties: - authorization: anonymous: - job-read - vishal.bhoj@linaro.org: - - job-build - - job-read - job-extended-read - - job-configure - - job-cancel + parameters: + - string: + name: KERNEL_BRANCH + default: 'android-hikey-linaro-4.4' disabled: false - node: docker-utopic-art-test - display-name: 'AOSP build playground for Vishal Bhoj' - concurrent: true + node: master + display-name: 'Trigger for LKFT HiKey builds (4.4 branch)' + scm: + - git: + remotes: + - linux-stable-4.4: + url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git + refspec: +refs/heads/linux-4.4.y:refs/remotes/origin/linux-4.4.y + - android-hikey-linaro-4.4: + url: https://android.googlesource.com/kernel/hikey-linaro + refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH} + branches: + - origin/${KERNEL_BRANCH} + skip-tag: true + shallow-clone: false + wipe-workspace: false + triggers: + - pollscm: 'H/5 * * * *' wrappers: - timestamps - - timeout: - timeout: 500 - - ssh-agent-credentials: - users: - - '768c1ba1-6052-4b97-a531-7e4fabda6979' + - build-name: + name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' builders: - - linaro-publish-token - shell: | - #!/bin/bash + #!/bin/bash -e + echo KERNEL_DESCRIBE=$(git describe --always) > lkft_parameters + echo SRCREV_kernel=${GIT_COMMIT} >> lkft_parameters + cat lkft_parameters publishers: - !include: android-lcr/common/publishers.yaml.inc - + - trigger-parameterized-builds: + - project: + - 'openembedded-lkft-aosp-4.4' + condition: SUCCESS + property-file: lkft_parameters + - project: + - 'lkft-hikey-aosp-4.4' + condition: SUCCESS + property-file: lkft_parameters |