Arthur She | f4d97ca | 2024-07-30 17:10:48 +0800 | [diff] [blame] | 1 | - job: |
| 2 | name: iar-docker-images |
| 3 | project-type: freestyle |
| 4 | defaults: global |
| 5 | properties: |
| 6 | - build-discarder: |
| 7 | days-to-keep: 500 |
| 8 | num-to-keep: 30 |
| 9 | disabled: false |
Arthur She | 560798e | 2024-08-05 11:33:48 +0800 | [diff] [blame] | 10 | node: build-amd64-private |
Arthur She | f4d97ca | 2024-07-30 17:10:48 +0800 | [diff] [blame] | 11 | concurrent: false |
Arthur She | 72c480b | 2024-09-17 21:43:04 -0700 | [diff] [blame] | 12 | display-name: 'TF-M IAR Docker images builder' |
Arthur She | f4d97ca | 2024-07-30 17:10:48 +0800 | [diff] [blame] | 13 | parameters: |
| 14 | - string: |
| 15 | name: GERRIT_PROJECT |
| 16 | default: 'ci/iar-dockerfiles' |
| 17 | description: | |
| 18 | Git project to build (also set by Gerrit trigger) |
| 19 | - string: |
| 20 | name: GERRIT_BRANCH |
| 21 | default: 'master' |
| 22 | description: | |
| 23 | Git branch to build (also set by Gerrit trigger) |
| 24 | - string: |
| 25 | name: GERRIT_REFSPEC |
| 26 | default: '' |
Arthur She | a792c1e | 2024-08-15 10:24:58 +0800 | [diff] [blame] | 27 | - string: |
| 28 | name: IAR_PACKAGE |
| 29 | default: 'bxarm-9.50.2.deb' |
| 30 | description: | |
| 31 | IAR toolchain install package file name |
Arthur She | f4d97ca | 2024-07-30 17:10:48 +0800 | [diff] [blame] | 32 | wrappers: |
| 33 | - timestamps |
| 34 | - timeout: |
| 35 | timeout: 60 |
| 36 | fail: true |
| 37 | - credentials-binding: |
| 38 | - text: |
Arthur She | 913f65d | 2024-09-18 21:19:52 -0700 | [diff] [blame] | 39 | credential-id: IAR_CLOUD_LICENSE_NR |
Arthur She | f4d97ca | 2024-07-30 17:10:48 +0800 | [diff] [blame] | 40 | variable: IAR_LICENSE_NR |
| 41 | - text: |
Arthur She | b9ef056 | 2024-09-18 21:51:25 -0700 | [diff] [blame] | 42 | credential-id: IAR_CLOUD_LICENSE_EMAIL |
| 43 | variable: IAR_LICENSE_EMAIL |
Arthur She | f4d97ca | 2024-07-30 17:10:48 +0800 | [diff] [blame] | 44 | scm: |
| 45 | - git: |
| 46 | url: https://review.trustedfirmware.org/${GERRIT_PROJECT} |
| 47 | refspec: ${GERRIT_REFSPEC} |
| 48 | branches: |
| 49 | - ${GERRIT_BRANCH} |
| 50 | skip-tag: true |
| 51 | clean: |
| 52 | before: true |
| 53 | choosing-strategy: gerrit |
| 54 | basedir: iar-dockerfiles |
| 55 | builders: |
| 56 | - shell: |
| 57 | !include-raw: iar-docker-images/builders.sh |
| 58 | publishers: |
| 59 | - email: |
| 60 | recipients: 'arthur.she@linaro.org' |
| 61 | |