blob: 4de7470630c058163f8f4aab3ff6de9b6bf90bff [file] [log] [blame]
- job:
name: iar-docker-images
project-type: freestyle
defaults: global
properties:
- build-discarder:
days-to-keep: 500
num-to-keep: 30
disabled: false
# Test build job on TF-02
# node: build-amd64
# Run on EC2
node: build-amd64-private
concurrent: false
display-name: 'TF-M IAR Docker images build job'
parameters:
- string:
name: GERRIT_PROJECT
default: 'ci/iar-dockerfiles'
description: |
Git project to build (also set by Gerrit trigger)
- string:
name: GERRIT_BRANCH
default: 'master'
description: |
Git branch to build (also set by Gerrit trigger)
- string:
name: GERRIT_REFSPEC
default: ''
wrappers:
- timestamps
- timeout:
timeout: 60
fail: true
- credentials-binding:
- text:
credential-id: TEST_IAR_LICENSE_NR
variable: IAR_LICENSE_NR
- text:
credential-id: TEST_IAR_LICENSE_EMAIL
variable: IAR_LICENSE_EMAIL
scm:
- git:
url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
refspec: ${GERRIT_REFSPEC}
branches:
- ${GERRIT_BRANCH}
skip-tag: true
clean:
before: true
choosing-strategy: gerrit
basedir: iar-dockerfiles
builders:
- shell:
!include-raw: iar-docker-images/builders.sh
publishers:
- email:
recipients: 'arthur.she@linaro.org'