From: Aric Gardner Date: Wed, 14 Jun 2017 01:04:41 +0000 (+0800) Subject: Report anteater results to gerrit. X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=fd24cfa3d91695bedf0b9d0c46ab9def833cf856;p=releng.git Report anteater results to gerrit. used tee to create audit log Change-Id: I6941e142064cf7c9b4586660be69df2a02807af3 Signed-off-by: Aric Gardner --- diff --git a/jjb/ci_gate_security/anteater-security-audit.sh b/jjb/ci_gate_security/anteater-security-audit.sh index 4d454f28f..9192b1bbe 100644 --- a/jjb/ci_gate_security/anteater-security-audit.sh +++ b/jjb/ci_gate_security/anteater-security-audit.sh @@ -25,7 +25,7 @@ cmd="anteater --project $PROJECT --patchset /home/opnfv/anteater/$PROJECT/patchs echo "Executing command inside container" echo "$cmd" echo "--------------------------------------------------------" -docker exec $container_id $cmd +docker exec $container_id $cmd | tee securityaudit.log exit_code=$? echo "--------------------------------------------------------" echo "Stopping docker container with ID $container_id" diff --git a/jjb/ci_gate_security/opnfv-ci-gate-security.yml b/jjb/ci_gate_security/opnfv-ci-gate-security.yml index 1e550a337..84e9dd1a7 100644 --- a/jjb/ci_gate_security/opnfv-ci-gate-security.yml +++ b/jjb/ci_gate_security/opnfv-ci-gate-security.yml @@ -70,7 +70,7 @@ builders: - anteater-security-audit -# - report-security-audit-result-to-gerrit + - report-security-audit-result-to-gerrit ######################## # builder macros ########################