Fix gerrit comment 67/36067/1
authorAric Gardner <agardner@linuxfoundation.org>
Wed, 14 Jun 2017 02:41:13 +0000 (10:41 +0800)
committerAric Gardner <agardner@linuxfoundation.org>
Wed, 14 Jun 2017 02:41:13 +0000 (10:41 +0800)
Change-Id: Id1340090fbf410f9eda5e115f554fee778d26b90
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
jjb/ci_gate_security/anteater-security-audit.sh
jjb/ci_gate_security/opnfv-ci-gate-security.yml

index 3c38a5b..b11e68a 100644 (file)
@@ -25,11 +25,10 @@ cmd="anteater --project $PROJECT --patchset /home/opnfv/anteater/$PROJECT/patchs
 echo "Executing command inside container"
 echo "$cmd"
 echo "--------------------------------------------------------"
-docker exec $container_id $cmd | tee securityaudit.log
+docker exec $container_id $cmd > $WORKSPACE/securityaudit.log 2>&1
 exit_code=$?
 echo "--------------------------------------------------------"
 echo "Stopping docker container with ID $container_id"
 docker stop $container_id
 exit 0
 #exit $exit_code
-
index 84e9dd1..c364186 100644 (file)
@@ -87,7 +87,6 @@
             #!/bin/bash
             set -o errexit
             set -o pipefail
-            set -o xtrace
             export PATH=$PATH:/usr/local/bin/
 
             # If no violations were found, no lint log will exist.