summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-06-27 08:17:02 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-06-27 10:12:53 -0700
commitdcb6f4416869fc8f21d755554db1de6a91715088 (patch)
tree08ec845bd05e012c84c13513aa13bfc5c5c87697
parent486d1700853be9e93181d3f0aa7a1b472a78e0e3 (diff)
Pass fully qualified anteater path to Docker run
With moving anteater into a virtualenv inside the container, it is no longer installed to a location accessible by the default PATH. Using the absolute path to the anteater binary should allow this to run. Change-Id: I978e96d6de1b6c7bb63ff877b5bc77e1b6ee44df Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--jjb/ci_gate_security/anteater-security-audit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/ci_gate_security/anteater-security-audit.sh b/jjb/ci_gate_security/anteater-security-audit.sh
index 2b5c26a5a..9bd3cc34f 100644
--- a/jjb/ci_gate_security/anteater-security-audit.sh
+++ b/jjb/ci_gate_security/anteater-security-audit.sh
@@ -16,7 +16,7 @@ docker pull opnfv/releng-anteater
echo "--------------------------------------------------------"
cmd="docker run -i $envs $vols --rm opnfv/releng-anteater \
-anteater --project $PROJECT --patchset /home/opnfv/anteater/$PROJECT/patchset"
+/home/opnfv/venv/bin/anteater --project $PROJECT --patchset /home/opnfv/anteater/$PROJECT/patchset"
echo "Running docker container"
echo "$cmd"
$cmd > $WORKSPACE/securityaudit.log 2>&1