From fe65fc8ddf2a14547186419a82466c4ca3a7717c Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Wed, 14 Jun 2017 10:41:13 +0800 Subject: Fix gerrit comment Change-Id: Id1340090fbf410f9eda5e115f554fee778d26b90 Signed-off-by: Aric Gardner --- jjb/ci_gate_security/anteater-security-audit.sh | 3 +-- jjb/ci_gate_security/opnfv-ci-gate-security.yml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'jjb/ci_gate_security') 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. -- cgit 1.2.3-korg