diff options
-rw-r--r-- | jjb/ci_gate_security/anteater-security-audit.sh | 3 | ||||
-rw-r--r-- | jjb/ci_gate_security/opnfv-ci-gate-security.yml | 1 |
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. |