From 7265d1f18e9895a1d86449c3ee9fa57edd023df9 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Thu, 13 Sep 2018 21:31:49 -0400 Subject: [PATCH] Update tox-sonar job to use lf-infra-pre-build Use lf-infra-pre-build to install lftools via --user config. This resolves the post-build install failing with missing pip==18.0. This is related to the lftools-venv series of patches. Change-Id: I3c0320ada2e6ede3ce6b680ee26aa2a0b74e5e6d Signed-off-by: Thanh Ha --- jjb/lf-python-jobs.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/jjb/lf-python-jobs.yaml b/jjb/lf-python-jobs.yaml index 2de5d8b0..dbd09441 100644 --- a/jjb/lf-python-jobs.yaml +++ b/jjb/lf-python-jobs.yaml @@ -286,11 +286,7 @@ can call "org.codehaus.mojo:sonar-maven-plugin:3.3.0.603:sonar". builders: - - shell: !include-raw-escape: - # Workaround issue where the tox run later breaks the lftools virtualenv. - # Without running the install first the run in the publisher will fail - # due to missing lftools because it gets installed into a tox venv. - - ../shell/lftools-install.sh + - lf-infra-pre-build - lf-infra-tox-install: python-version: '{python-version}' - shell: !include-raw-escape: ../shell/tox-run.sh -- 2.16.6