blob: d989d043b1530dc7499ec8f153a034e1fb29ea20 [file] [log] [blame]
---
- job-template:
name: infra.shellcheck
id: common/shellcheck
project-type: pipeline
description: Check shell scripts by ShellCheck
concurrent: True
properties:
- build-discarder:
days-to-keep: 14
- inject:
properties-content: |
K8S_CLUSTER={k8s_cluster}
DOCKER_IMAGE={docker-dev-virtual}/mirantis/openstack-ci/jenkins-job-tests:latest
NODE_LABEL={shellcheck_node|docker}
GIT_CREDENTIALS_ID={git-credentials-id}
triggers:
- gerrit:
server-name: '{gerrit-server}'
projects: '{obj:projects}'
trigger-on:
- patchset-created-event:
exclude-drafts: True
custom-url: '- ${{JOB_NAME}} ${{BUILD_URL}}console'
skip-vote:
notbuilt: true
dsl: !include-raw-escape: ../pipelines/shellcheck.groovy