stream:
- 'master':
branch: '{stream}'
+ gated-projects: 'infra/engine|infra/hwconfig|infra/test|infra/provisioner/bifrost|infra/provisioner/heat'
lint-type:
- ansible-lint:
repos-to-ignore: 'infra/hwconfig'
- docs:
disabled: false
- repos-to-ignore: 'infra/hwconfig|infra/swconfig|infra/test'
+ repos-to-ignore: 'infra/hwconfig|infra/test|infra/provisioner/bifrost|infra/provisioner/heat'
- shellcheck:
disabled: false
repos-to-ignore: 'infra/hwconfig'
properties:
- logrotate
+ # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
+ - throttle:
+ enabled: true
+ max-per-node: 1
+ max-total: 4
+ option: category
+ categories:
+ - engine-verify-tox
wrappers:
- build-timeout:
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
- branch: '{branch}'
+ branch: $GERRIT_BRANCH
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false
comment-contains-value: 'reverify'
projects:
- project-compare-type: 'REG_EXP'
- project-pattern: 'infra\/engine|infra\/test|infra\/swconfig|infra\/hwconfig'
+ project-pattern: '{gated-projects}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
builders:
- multijob:
- name: Engine Lint
+ name: Static Analysis
condition: ALWAYS
execution-type: PARALLEL
projects:
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
- branch: '{branch}'
+ branch: $GERRIT_BRANCH
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false