X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fcsit%2Fcsit-vpp-pylint.yaml;h=f8a52112098a45e69c6e0ffffa3e6a024c3e3aba;hb=29be786d3165364f61fadadf0fba430c2f377018;hp=c04beb63b8d8316e55e0a8c81a6b0bdb91f88647;hpb=97af88149e4884d978f3bdabcb846b5ccd3611f2;p=ci-management.git diff --git a/jjb/csit/csit-vpp-pylint.yaml b/jjb/csit/csit-vpp-pylint.yaml index c04beb63b..f8a521120 100644 --- a/jjb/csit/csit-vpp-pylint.yaml +++ b/jjb/csit/csit-vpp-pylint.yaml @@ -2,21 +2,22 @@ name: csit-validate jobs: - - 'csit-validate-{functionality}' + - 'csit-validate-pylint-{stream}' project: 'csit' branch: 'master' - - functionality: 'pylint' + stream: + - master: + branch: 'master' - job-template: - name: 'csit-vpp-{functionality}' + name: 'csit-validate-pylint-{stream}' project-type: freestyle - node: verify + node: ubuntu1604-basebuild-4c-4g concurrent: true - logrotate: + build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' @@ -30,20 +31,13 @@ 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: @@ -51,12 +45,21 @@ 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' + - fdio-infra-shiplogs: + maven-version: 'mvn33-new'