blob: 7ab938d023fbb6fa0fa5e2f095e3c1614ae11bae [file] [log] [blame]
Vishal Bhoj0a6b4e02016-06-29 22:44:10 +05301- job:
Vishal Bhojcbb2ea12016-06-29 22:57:38 +05302 name: bhoj-test
Vishal Bhoj0a6b4e02016-06-29 22:44:10 +05303 project-type: freestyle
4 defaults: global
5 logrotate:
Vishal Bhojcefff1d2017-07-26 15:34:41 +05306 daysToKeep: 30
7 numToKeep: 30
Vishal Bhoj0a6b4e02016-06-29 22:44:10 +05308 properties:
9 - authorization:
10 anonymous:
11 - job-read
Vishal Bhoj0a6b4e02016-06-29 22:44:10 +053012 - job-extended-read
Vishal Bhojb67d4052017-07-26 15:48:37 +053013 vishal.bhoj@linaro.org:
14 - job-build
15 - job-read
16 - job-extended-read
17 - job-configure
18 - job-cancel
Vishal Bhojb4bde182018-10-10 18:33:55 +053019 disabled: false
Kelley Spoon083a72b2022-04-26 07:05:14 -050020 node: master
Vishal Bhojb4bde182018-10-10 18:33:55 +053021 display-name: 'Trigger for LKFT HiKey builds (4.4 branch)'
Vishal Bhoj0a6b4e02016-06-29 22:44:10 +053022 wrappers:
23 - timestamps
Vishal Bhoj0eb16482019-03-15 14:12:18 +053024 - 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 Bhojb72fde42019-03-19 18:49:44 +053048 - credentials-binding:
49 - text:
50 credential-id: QA_REPORTS_TOKEN
Vishal Bhoj7fe03fc2019-03-25 18:37:07 +053051 variable: SQUAD_AUTH_TOKEN
Vishal Bhojcefff1d2017-07-26 15:34:41 +053052 - build-name:
53 name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
Vishal Bhoj0a6b4e02016-06-29 22:44:10 +053054 builders:
Vishal Bhojc22e9c52017-01-28 10:01:19 +053055 - shell: |
Vishal Bhojcefff1d2017-07-26 15:34:41 +053056 #!/bin/bash -e
Vishal Bhoj375e7c32020-03-15 13:41:12 +053057 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}