Arthur: Add iar-docker-images job
Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: Idf40b33a93b4da512d8363e29f1e0701f6c51096
diff --git a/iar-docker-images.yaml b/iar-docker-images.yaml
new file mode 100644
index 0000000..efddf2f
--- /dev/null
+++ b/iar-docker-images.yaml
@@ -0,0 +1,58 @@
+- 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
+# 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'
+