ci-dockerfiles-sanity-check: Remove to recreate as a different job type
This job is currently a matrix job with a single configuration, which makes
its usage and maintenance a bit confusing. We can't just change the type of
existing job from matrix to normal ("freestyle") in Jenkins, so will remove
and then immediately recreate as such.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: Ie404e077ef4d9e8aff05ca227efe479faf822036
diff --git a/ci-dockerfiles-sanity-check.yaml b/ci-dockerfiles-sanity-check.yaml
deleted file mode 100644
index 5bf00ee..0000000
--- a/ci-dockerfiles-sanity-check.yaml
+++ /dev/null
@@ -1,90 +0,0 @@
-- job:
- name: ci-dockerfiles-sanity-check
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-discover
- authenticated:
- - job-read
- - job-extended-read
- - job-discover
- - build-discarder:
- days-to-keep: 90
- num-to-keep: 200
- - build-blocker:
- use-build-blocker: true
- blocking-jobs:
- - "ci-docker*"
- block-level: 'NODE'
- disabled: false
- node: build-amd64
- concurrent: false
- display-name: 'CI Dockerfiles sanity check'
- parameters:
- - string:
- name: GERRIT_PROJECT
- default: 'ci/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: ''
- - string:
- name: DOCKER_SUFFIX
- default: '-check'
- description: |
- Suffix for docker image name, should be non-empty to differentiate testing images from production images.
- 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: dockerfiles
- triggers:
- - gerrit:
- server-name: 'review.trustedfirmware.org'
- trigger-on:
- - patchset-created-event
- projects:
- - project-compare-type: 'PLAIN'
- project-pattern: 'ci/dockerfiles'
- branches:
- - branch-compare-type: 'PLAIN'
- branch-pattern: 'master'
- silent-start: true
- axes:
- - axis:
- type: slave
- name: label
- values:
- - build-amd64
- execution-strategy:
- sequential: false
- wrappers:
- - timestamps
- builders:
- - shell: |
- #!/bin/bash -e
- echo "#${BUILD_NUMBER}-${GERRIT_PATCHSET_REVISION:0:8}" > ${WORKSPACE}/version.txt
- - build-name-setter:
- name: 'version.txt'
- file: true
- - shell:
- !include-raw: ci-dockerfiles-deployment/builders.sh
- - shell:
- !include-raw: ci-dockerfiles-deployment/report.sh
- publishers:
- - email:
- recipients: linaro-infrastructure-errors@lists.linaro.org