blob: ca12f53a67306d671f8af2d012a36fb82ee279cc [file] [log] [blame]
---
- project:
name: test-jenkins-jobs
jobs:
- infra/jenkins-jobs.check
- job-template:
name: infra.jenkins-jobs.check
id: infra/jenkins-jobs.check
project-type: pipeline
description: Check job definitions by Jenkins Job Builder
concurrent: True
properties:
- build-discarder:
days-to-keep: 14
- inject:
properties-content: |
K8S_CLUSTER={k8s_cluster}
GIT_CREDENTIALS_ID={git-credentials-id}
DOCKER_IMAGE={docker-dev-virtual}/mirantis/openstack-ci/jenkins-job-tests:latest
CI_NAME={ci_name}
triggers:
- gerrit:
server-name: '{gerrit-server}'
projects:
- project-compare-type: PLAIN
project-pattern: infra/jenkins-jobs
branches:
- branch-pattern: 'master'
file-paths:
- compare-type: ANT
pattern: 'common/*'
- compare-type: ANT
pattern: 'common/**/*'
- compare-type: ANT
pattern: 'servers/{ci_name}/*'
- compare-type: ANT
pattern: 'servers/{ci_name}/**/*'
trigger-on:
- patchset-created-event:
exclude-drafts: True
custom-url: '- ${{JOB_NAME}} ${{BUILD_URL}}'
dsl: !include-raw-escape: pipelines/test-jenkins-jobs.groovy