name: csit-validate
jobs:
- - 'csit-validate-pylint'
+ - 'csit-validate-pylint-{stream}'
project: 'csit'
branch: 'master'
+ stream:
+ - master:
+ branch: 'master'
+ - '1606':
+ branch: 'rls1606'
+ - '1609':
+ branch: 'rls1609'
- job-template:
- name: 'csit-validate-pylint'
+ name: 'csit-validate-pylint-{stream}'
project-type: freestyle
node: verify
scm:
- gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
+ credentials-id: 'jenkins-gerrit-credentials'
refspec: '$GERRIT_REFSPEC'
choosing-strategy: 'gerrit'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- - jclouds:
- instances:
- - multi-link:
- cloud-name: 'Primary'
- count: 3
- stop-on-terminate: False
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- gerrit-trigger-patch-submitted:
# allocated IP addresses and injecting as vars into the env. (see Opendaylight script: include-raw-integration-get-slave-addresses.sh
# See jjb/integration from ODL
- shell:
- !include-raw-escape include-raw-csit-pylint.sh
+ !include-raw-escape: include-raw-csit-pylint.sh
publishers:
- archive-artifacts:
- artifacts: 'build-root/**'
+ artifacts: 'pylint.log'
+ latest-only: false
+ - violations:
+ pylint:
+ min: 10
+ max: 250
+ unstable: 250
+ pattern: 'pylint.log'