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 |
| 10 | # Test build job on TF-02 |
| 11 | node: build-amd64 |
| 12 | # node: build-amd64-private |
| 13 | concurrent: false |
| 14 | display-name: 'TF-M IAR Docker images build job' |
| 15 | parameters: |
| 16 | - string: |
| 17 | name: GERRIT_PROJECT |
| 18 | default: 'ci/iar-dockerfiles' |
| 19 | description: | |
| 20 | Git project to build (also set by Gerrit trigger) |
| 21 | - string: |
| 22 | name: GERRIT_BRANCH |
| 23 | default: 'master' |
| 24 | description: | |
| 25 | Git branch to build (also set by Gerrit trigger) |
| 26 | - string: |
| 27 | name: GERRIT_REFSPEC |
| 28 | default: '' |
| 29 | wrappers: |
| 30 | - timestamps |
| 31 | - timeout: |
| 32 | timeout: 60 |
| 33 | fail: true |
| 34 | - credentials-binding: |
| 35 | - text: |
| 36 | credential-id: TEST_IAR_LICENSE_NR |
| 37 | variable: IAR_LICENSE_NR |
| 38 | - text: |
| 39 | credential-id: TEST_IAR_LICENSE_EMAIL |
| 40 | variable: IAR_LICENSE_EMAIL |
| 41 | scm: |
| 42 | - git: |
| 43 | url: https://review.trustedfirmware.org/${GERRIT_PROJECT} |
| 44 | refspec: ${GERRIT_REFSPEC} |
| 45 | branches: |
| 46 | - ${GERRIT_BRANCH} |
| 47 | skip-tag: true |
| 48 | clean: |
| 49 | before: true |
| 50 | choosing-strategy: gerrit |
| 51 | basedir: iar-dockerfiles |
| 52 | builders: |
| 53 | - shell: |
| 54 | !include-raw: iar-docker-images/builders.sh |
| 55 | publishers: |
| 56 | - email: |
| 57 | recipients: 'arthur.she@linaro.org' |
| 58 | |