summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-06-13 16:08:02 +0800
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-06-13 16:08:45 +0800
commitc4c88ca0752cbe05eb3c9e21c23328f6f553f037 (patch)
tree6a688b8a20155d1ef2f0f27eeb8df878e68f6f43 /jjb
parent28cc9fea7bf6474d0308321048fe1f6f125e4772 (diff)
anteater: Fix jjb script
Change-Id: Ib42cef840ff8118c32676efdf8c21c315c1f4911 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb')
-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 1ac558208..4d454f28f 100644
--- a/jjb/ci_gate_security/anteater-security-audit.sh
+++ b/jjb/ci_gate_security/anteater-security-audit.sh
@@ -17,7 +17,7 @@ echo "--------------------------------------------------------"
docker pull opnfv/releng-anteater
echo "--------------------------------------------------------"
-cmd="docker run --user $JENKINS_USER -id $envs $vols --rm opnfv/releng-anteater /bin/bash"
+cmd="sudo docker run --privileged=true -id $envs $vols opnfv/releng-anteater /bin/bash"
echo "Running docker command $cmd"
container_id=$($cmd)
echo "Container ID is $container_id"