summaryrefslogtreecommitdiffstats
path: root/jjb/ci_gate_security
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-11-29 11:06:38 -0800
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-11-29 12:16:16 -0800
commitb74ac9b3ce17ba5057684588ebbf8d95465b7482 (patch)
tree33a676a536d07b70e9f10273c8fa2386d0e73c2f /jjb/ci_gate_security
parentf817361711e3782523217b27c1460967d094d798 (diff)
Fix Anteater Weekly Reporting Job
- Does not output the full scan to the console log - Updates the email-ext defaults to include any *.log file in the root of the workspace. This should include securityaudit.log - Adds 'GERRIT_REFSPEC' to the list of job parameters as required by 'git-scm-gerrit' - Fixes email-ptl macros so projects with extra repos have the proper recipients. Change-Id: Ibf22bf0683fc1f88de07ef3bb4717769c6ea0174 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/ci_gate_security')
-rw-r--r--jjb/ci_gate_security/anteater-security-audit-weekly.sh1
-rw-r--r--jjb/ci_gate_security/opnfv-ci-gate-security.yml4
2 files changed, 4 insertions, 1 deletions
diff --git a/jjb/ci_gate_security/anteater-security-audit-weekly.sh b/jjb/ci_gate_security/anteater-security-audit-weekly.sh
index 25850af28..6caa13117 100644
--- a/jjb/ci_gate_security/anteater-security-audit-weekly.sh
+++ b/jjb/ci_gate_security/anteater-security-audit-weekly.sh
@@ -47,5 +47,4 @@ exit_code=$?
echo "--------------------------------------------------------"
echo "Docker container exited with code: $exit_code"
echo "--------------------------------------------------------"
-cat securityaudit.log
exit 0
diff --git a/jjb/ci_gate_security/opnfv-ci-gate-security.yml b/jjb/ci_gate_security/opnfv-ci-gate-security.yml
index 5a2534ae8..75d1698ad 100644
--- a/jjb/ci_gate_security/opnfv-ci-gate-security.yml
+++ b/jjb/ci_gate_security/opnfv-ci-gate-security.yml
@@ -103,6 +103,10 @@
- project-parameter:
project: '{repo}'
branch: '{branch}'
+ - string:
+ name: GERRIT_REFSPEC
+ default: 'refs/heads/{stream}'
+ description: "Default Gerrit ref git HEAD should point to"
scm:
- git-scm-gerrit