Benjamin Copeland | 7005a5b | 2020-08-20 12:29:42 +0100 | [diff] [blame] | 1 | - job: |
| 2 | name: post-build-lava |
| 3 | project-type: freestyle |
| 4 | defaults: global |
| 5 | properties: |
| 6 | - build-discarder: |
| 7 | days-to-keep: 365 |
| 8 | num-to-keep: 700 |
Riku Voipio | 087a1ef | 2020-09-04 15:48:07 +0300 | [diff] [blame] | 9 | - authorization: |
| 10 | anonymous: |
| 11 | - job-read |
| 12 | - job-extended-read |
Benjamin Copeland | 7005a5b | 2020-08-20 12:29:42 +0100 | [diff] [blame] | 13 | parameters: |
| 14 | - file: |
| 15 | name: post_build_lava_parameters |
| 16 | - bool: |
| 17 | name: SKIP_REPORT |
| 18 | default: true |
| 19 | - string: |
| 20 | name: LAVA_SERVER |
| 21 | default: 'tf.validation.linaro.org/RPC2/' |
Leonardo Sandoval | 190a1d4 | 2020-10-21 15:55:13 -0500 | [diff] [blame] | 22 | disabled: false |
| 23 | node: master |
| 24 | display-name: 'Post build to LAVA' |
Benjamin Copeland | 7005a5b | 2020-08-20 12:29:42 +0100 | [diff] [blame] | 25 | wrappers: |
| 26 | - timestamps |
| 27 | - credentials-binding: |
| 28 | - text: |
| 29 | credential-id: LAVA_USER_TF |
| 30 | variable: LAVA_USER |
| 31 | - credentials-binding: |
| 32 | - text: |
| 33 | credential-id: LAVA_TOKEN_TF |
| 34 | variable: LAVA_TOKEN |
| 35 | builders: |
| 36 | - shell: |
| 37 | !include-raw: post-build-lava/builders.sh |
| 38 | publishers: |
| 39 | - groovy-postbuild: |
| 40 | script: |
| 41 | !include-raw: |
| 42 | - post-build-lava/post-build-lava.groovy |