summaryrefslogtreecommitdiffstats
path: root/jjb/ci_gate_security
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2017-06-14 10:41:13 +0800
committerAric Gardner <agardner@linuxfoundation.org>2017-06-14 10:41:13 +0800
commitfe65fc8ddf2a14547186419a82466c4ca3a7717c (patch)
treef2607b384c5217012adb8c99ad4c4636b6767815 /jjb/ci_gate_security
parent76bb26e97f2b9b0aaeaf7dd276f30513d1ac49ee (diff)
Fix gerrit comment
Change-Id: Id1340090fbf410f9eda5e115f554fee778d26b90 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/ci_gate_security')
-rw-r--r--jjb/ci_gate_security/anteater-security-audit.sh3
-rw-r--r--jjb/ci_gate_security/opnfv-ci-gate-security.yml1
2 files changed, 1 insertions, 3 deletions
diff --git a/jjb/ci_gate_security/anteater-security-audit.sh b/jjb/ci_gate_security/anteater-security-audit.sh
index 3c38a5b96..b11e68a61 100644
--- a/jjb/ci_gate_security/anteater-security-audit.sh
+++ b/jjb/ci_gate_security/anteater-security-audit.sh
@@ -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
-
diff --git a/jjb/ci_gate_security/opnfv-ci-gate-security.yml b/jjb/ci_gate_security/opnfv-ci-gate-security.yml
index 84e9dd1a7..c364186b2 100644
--- a/jjb/ci_gate_security/opnfv-ci-gate-security.yml
+++ b/jjb/ci_gate_security/opnfv-ci-gate-security.yml
@@ -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.