X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fcsit%2Fcsit-vpp-pylint.yaml;h=03de48d4f475a2926161b3cb555e79eeb235278e;hb=2d286c0bfff820a47ba091d3952c6f3c6c7daa9d;hp=c04beb63b8d8316e55e0a8c81a6b0bdb91f88647;hpb=24d308628d0cf57222375894209a72e7ce23af25;p=ci-management.git diff --git a/jjb/csit/csit-vpp-pylint.yaml b/jjb/csit/csit-vpp-pylint.yaml index c04beb63b..03de48d4f 100644 --- a/jjb/csit/csit-vpp-pylint.yaml +++ b/jjb/csit/csit-vpp-pylint.yaml @@ -2,15 +2,20 @@ name: csit-validate jobs: - - 'csit-validate-{functionality}' + - 'csit-validate-pylint-{stream}' project: 'csit' branch: 'master' - - functionality: 'pylint' + stream: + - master: + branch: 'master' + - '1606': + branch: 'rls1606' + - '1609': + branch: 'rls1609' - job-template: - name: 'csit-vpp-{functionality}' + name: 'csit-validate-pylint-{stream}' project-type: freestyle node: verify @@ -30,20 +35,14 @@ 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 + - 'jenkins-gerrit-credentials' triggers: - gerrit-trigger-patch-submitted: @@ -51,12 +50,19 @@ branch: '{branch}' builders: - # This is where we will need to insert a step with a script that pulls all the + # This is where we will need to insert a step with a script that pulls all the # 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'