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>
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
publishers:
- archive-artifacts:
- artifacts: 'build-root/**'
+ artifacts: 'pylint.log'
#!/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 :