Rename csit validate job, add pylint installation to script. 28/328/1
authorStefan Kobza <skobza@cisco.com>
Mon, 15 Feb 2016 16:58:12 +0000 (17:58 +0100)
committerStefan Kobza <skobza@cisco.com>
Mon, 15 Feb 2016 16:58:12 +0000 (17:58 +0100)
Adding sudo apt-get install script to the pylint validation job. Will
move it to the Vagrantfile after all deps are known and fixed.

Change-Id: I17feaaf4280388088df77f8921a26c1c1c873557
Signed-off-by: Stefan Kobza <skobza@cisco.com>
jjb/csit/csit-vpp-pylint.yaml
jjb/csit/include-raw-csit-pylint.sh

index 627cc6e..326f206 100644 (file)
@@ -2,13 +2,13 @@
     name: csit-validate
 
     jobs:
-        - 'csit-vpp-validate-pylint'
+        - 'csit-validate-pylint'
 
     project: 'csit'
     branch: 'master'
 
 - job-template:
-    name: 'csit-vpp-validate-pylint'
+    name: 'csit-validate-pylint'
 
     project-type: freestyle
     node: verify
@@ -57,4 +57,4 @@
 
     publishers:
         - archive-artifacts:
-            artifacts: 'build-root/**'
+            artifacts: 'pylint.log'
index e680884..c0cfe6c 100644 (file)
@@ -1,5 +1,6 @@
 #!/bin/bash
 
+sudo apt-get install -y --force-yes pylint
 find resources -name \*.py | xargs pylint --rcfile=pylint.cfg > pylint.log || true
 
 # vim: ts=4 ts=4 sts=4 et :