diff options
author | Stefan Kobza <skobza@cisco.com> | 2016-02-15 17:58:12 +0100 |
---|---|---|
committer | Stefan Kobza <skobza@cisco.com> | 2016-02-15 17:58:12 +0100 |
commit | e2591fc3c325de8e590e7c4963903cdc3320857f (patch) | |
tree | 0d7b343cae9b173e5f697c5e418055c6eb6d4559 | |
parent | 0062655b80dedeeb01b0d20b1e14f8dee53cb659 (diff) |
Rename csit validate job, add pylint installation to script.
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>
-rw-r--r-- | jjb/csit/csit-vpp-pylint.yaml | 6 | ||||
-rw-r--r-- | jjb/csit/include-raw-csit-pylint.sh | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/jjb/csit/csit-vpp-pylint.yaml b/jjb/csit/csit-vpp-pylint.yaml index 627cc6e90..326f206e6 100644 --- a/jjb/csit/csit-vpp-pylint.yaml +++ b/jjb/csit/csit-vpp-pylint.yaml @@ -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' diff --git a/jjb/csit/include-raw-csit-pylint.sh b/jjb/csit/include-raw-csit-pylint.sh index e68088481..c0cfe6c22 100644 --- a/jjb/csit/include-raw-csit-pylint.sh +++ b/jjb/csit/include-raw-csit-pylint.sh @@ -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 : |