summaryrefslogtreecommitdiffstats
path: root/jjb/global
diff options
context:
space:
mode:
authoragardner <agardner@linuxfoundation.org>2018-01-26 10:32:04 -0500
committeragardner <agardner@linuxfoundation.org>2018-01-26 10:44:22 -0500
commit92e57bfbd6e426c733e4687868b7637327c34958 (patch)
tree4434757c083f8021053a746d24203ed56dc7f174 /jjb/global
parent85add8399995e3d29eb5c65f08dd1ffd46673008 (diff)
Linting should be done on a build server, not on master
Linting was broken by this patch https://gerrit.opnfv.org/gerrit/#/c/50737/ Also added sudo to pip installs, as they are not in a venv Patch forgot to put linting on build server so it defaulted to master. Change-Id: Iba8c1f633fad6d5f3d097f4911f45100c3b43e30 Signed-off-by: agardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/global')
-rw-r--r--jjb/global/releng-macros.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml
index 25e4e4a94..1c74732d5 100644
--- a/jjb/global/releng-macros.yml
+++ b/jjb/global/releng-macros.yml
@@ -345,7 +345,7 @@
builders:
- shell: |
# Install python packages
- pip install "flake8==2.6.2"
+ sudo pip install "flake8==2.6.2"
echo "Checking python code..."
for f in $(egrep '\.py$' modified_files)
@@ -361,8 +361,8 @@
name: lint-yaml-code
builders:
- shell: |
- # Install python packages
- pip install "yamllint==1.8.2"
+ # sudo Install python packages
+ sudo pip install "yamllint==1.8.2"
echo "Checking yaml file..."
for f in $(egrep '\.ya?ml$' modified_files)