X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fci_gate_security%2Fanteater-security-audit-weekly.sh;h=11909636a23831c134caf79e5787d786690a95dc;hb=refs%2Fchanges%2F13%2F38413%2F7;hp=99f2820ec09ae1d3d7c229484fca678693913c99;hpb=099b8bd8cf78c9eafb034ad9b031c064378a201e;p=releng.git diff --git a/jjb/ci_gate_security/anteater-security-audit-weekly.sh b/jjb/ci_gate_security/anteater-security-audit-weekly.sh index 99f2820ec..11909636a 100644 --- a/jjb/ci_gate_security/anteater-security-audit-weekly.sh +++ b/jjb/ci_gate_security/anteater-security-audit-weekly.sh @@ -7,7 +7,7 @@ echo "Pulling releng-anteater docker image" echo "--------------------------------------------------------" docker pull opnfv/releng-anteater echo "--------------------------------------------------------" -cmd="docker run --user nobody -id $vols opnfv/releng-anteater /bin/bash" +cmd="docker run -id $vols opnfv/releng-anteater /bin/bash" echo "Running docker command $cmd" container_id=$($cmd) echo "Container ID is $container_id" @@ -15,7 +15,7 @@ source $WORKSPACE/opnfv-projects.sh for project in "${PROJECT_LIST[@]}" do - cmd="anteater --project testproj --path /home/opnfv/anteater/allrepos/$project" + cmd="/home/opnfv/venv/bin/anteater --project testproj --path /home/opnfv/anteater/allrepos/$project" echo "Executing command inside container" echo "$cmd" echo "--------------------------------------------------------"