Merge "Initial commit of support for rpm_dpdk project. Fix script name and removed...
[ci-management.git] / jjb / csit / csit-vpp-pylint.yaml
index c04beb6..0d30689 100644 (file)
@@ -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
 
     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:
             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'