Vishal Bhoj | 0a6b4e0 | 2016-06-29 22:44:10 +0530 | [diff] [blame] | 1 | - job: |
Vishal Bhoj | cbb2ea1 | 2016-06-29 22:57:38 +0530 | [diff] [blame] | 2 | name: bhoj-test |
Vishal Bhoj | 0a6b4e0 | 2016-06-29 22:44:10 +0530 | [diff] [blame] | 3 | project-type: freestyle |
| 4 | defaults: global |
| 5 | logrotate: |
Vishal Bhoj | cefff1d | 2017-07-26 15:34:41 +0530 | [diff] [blame] | 6 | daysToKeep: 30 |
| 7 | numToKeep: 30 |
Vishal Bhoj | 0a6b4e0 | 2016-06-29 22:44:10 +0530 | [diff] [blame] | 8 | properties: |
| 9 | - authorization: |
| 10 | anonymous: |
| 11 | - job-read |
Vishal Bhoj | 0a6b4e0 | 2016-06-29 22:44:10 +0530 | [diff] [blame] | 12 | - job-extended-read |
Vishal Bhoj | b67d405 | 2017-07-26 15:48:37 +0530 | [diff] [blame] | 13 | vishal.bhoj@linaro.org: |
| 14 | - job-build |
| 15 | - job-read |
| 16 | - job-extended-read |
| 17 | - job-configure |
| 18 | - job-cancel |
Vishal Bhoj | b4bde18 | 2018-10-10 18:33:55 +0530 | [diff] [blame] | 19 | disabled: false |
Kelley Spoon | 083a72b | 2022-04-26 07:05:14 -0500 | [diff] [blame] | 20 | node: master |
Vishal Bhoj | b4bde18 | 2018-10-10 18:33:55 +0530 | [diff] [blame] | 21 | display-name: 'Trigger for LKFT HiKey builds (4.4 branch)' |
Vishal Bhoj | 0a6b4e0 | 2016-06-29 22:44:10 +0530 | [diff] [blame] | 22 | wrappers: |
| 23 | - timestamps |
Vishal Bhoj | 0eb1648 | 2019-03-15 14:12:18 +0530 | [diff] [blame] | 24 | - credentials-binding: |
| 25 | - text: |
| 26 | credential-id: JJB_USER |
| 27 | variable: JJB_USER |
| 28 | - credentials-binding: |
| 29 | - text: |
| 30 | credential-id: JJB_PASSWORD |
| 31 | variable: JJB_PASSWORD |
| 32 | - credentials-binding: |
| 33 | - text: |
| 34 | credential-id: LAVA_USER |
| 35 | variable: LAVA_USER |
| 36 | - credentials-binding: |
| 37 | - text: |
| 38 | credential-id: LAVA_TOKEN |
| 39 | variable: LAVA_TOKEN |
| 40 | - credentials-binding: |
| 41 | - text: |
| 42 | credential-id: LT_QCOM_KEY |
| 43 | variable: LT_QCOM_KEY |
| 44 | - credentials-binding: |
| 45 | - text: |
| 46 | credential-id: AUTH_TOKEN |
| 47 | variable: AUTH_TOKEN |
Vishal Bhoj | b72fde4 | 2019-03-19 18:49:44 +0530 | [diff] [blame] | 48 | - credentials-binding: |
| 49 | - text: |
| 50 | credential-id: QA_REPORTS_TOKEN |
Vishal Bhoj | 7fe03fc | 2019-03-25 18:37:07 +0530 | [diff] [blame] | 51 | variable: SQUAD_AUTH_TOKEN |
Vishal Bhoj | cefff1d | 2017-07-26 15:34:41 +0530 | [diff] [blame] | 52 | - build-name: |
| 53 | name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' |
Vishal Bhoj | 0a6b4e0 | 2016-06-29 22:44:10 +0530 | [diff] [blame] | 54 | builders: |
Vishal Bhoj | c22e9c5 | 2017-01-28 10:01:19 +0530 | [diff] [blame] | 55 | - shell: | |
Vishal Bhoj | cefff1d | 2017-07-26 15:34:41 +0530 | [diff] [blame] | 56 | #!/bin/bash -e |
Vishal Bhoj | 375e7c3 | 2020-03-15 13:41:12 +0530 | [diff] [blame] | 57 | exit 1 |
| 58 | publishers: |
| 59 | - postbuildscript: |
| 60 | builders: |
| 61 | - role: SLAVE |
| 62 | build-on: |
| 63 | - FAILURE |
| 64 | build-steps: |
| 65 | - shell: | |
| 66 | #!/bin/bash -e |
| 67 | curl --header "Auth-Token: ${QA_REPORTS_TOKEN}" --form tests='{"build_process/build": "pass"}' ${qa_server}/api/submit/${qa_server_team}/${qa_server_project}/${QA_BUILD_VERSION}/${TEST_DEVICE_TYPE} |