diff options
author | 2017-11-29 11:06:38 -0800 | |
---|---|---|
committer | 2017-11-29 12:16:16 -0800 | |
commit | b74ac9b3ce17ba5057684588ebbf8d95465b7482 (patch) | |
tree | 33a676a536d07b70e9f10273c8fa2386d0e73c2f /jjb | |
parent | f817361711e3782523217b27c1460967d094d798 (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')
-rw-r--r-- | jjb/ci_gate_security/anteater-security-audit-weekly.sh | 1 | ||||
-rw-r--r-- | jjb/ci_gate_security/opnfv-ci-gate-security.yml | 4 | ||||
-rw-r--r-- | jjb/global/releng-macros.yml | 44 |
3 files changed, 22 insertions, 27 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 diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml index 28216388e..d554f4172 100644 --- a/jjb/global/releng-macros.yml +++ b/jjb/global/releng-macros.yml @@ -469,29 +469,27 @@ name: 'email_ptl_defaults' content-type: text attach-build-log: true + attachments: '*.log' compress-log: true always: true subject: '{subject}' -- publisher: +- publisher: &email_apex_ptl_defaults name: 'email-apex-ptl' - publishers: &email_apex_ptl_defaults + publishers: - email-ext: <<: *email_ptl_defaults recipients: > trozet@redhat.com - publisher: name: 'email-apex-os-net-config-ptl' - publishers: - <<: *email_apex_ptl_defaults + <<: *email_apex_ptl_defaults - publisher: name: 'email-apex-puppet-tripleo-ptl' - publishers: - <<: *email_apex_ptl_defaults + <<: *email_apex_ptl_defaults - publisher: name: 'email-apex-tripleo-heat-templates-ptl' - publishers: - <<: *email_apex_ptl_defaults + <<: *email_apex_ptl_defaults - publisher: name: 'email-armband-ptl' @@ -557,17 +555,16 @@ recipients: > stephen.wong1@huawei.com -- publisher: +- publisher: &email_compass4nfv_ptl_defaults name: 'email-compass4nfv-ptl' - publishers: &email_compass4nfv_ptl_defaults + publishers: - email-ext: <<: *email_ptl_defaults recipients: > chigang@huawei.com - publisher: name: 'email-compass-containers-ptl' - publishers: - <<: *email_compass4nfv_ptl_defaults + <<: *email_compass4nfv_ptl_defaults - publisher: name: 'email-conductor-ptl' @@ -833,17 +830,16 @@ recipients: > shang.xiaodong@zte.com.cn -- publisher: +- publisher: &email_pharos_ptl_defaults name: 'email-pharos-ptl' - publishers: &email_pharos_ptl_defaults + publishers: - email-ext: <<: *email_ptl_defaults recipients: > jack.morgan@intel.com - publisher: name: 'email-pharos-tools-ptl' - publishers: - <<: *email_pharos_ptl_defaults + <<: *email_pharos_ptl_defaults - publisher: name: 'email-promise-ptl' @@ -861,29 +857,25 @@ recipients: > wu.zhihui1@zte.com.cn -- publisher: +- publisher: &email_releng_ptl_defaults name: 'email-releng-ptl' - publishers: &email_releng_ptl_defaults + publishers: - email-ext: <<: *email_ptl_defaults recipients: > fatih.degirmenci@ericsson.com - publisher: name: 'email-releng-anteater-ptl' - publishers: - <<: *email_releng_ptl_defaults + <<: *email_releng_ptl_defaults - publisher: name: 'email-releng-testresults-ptl' - publishers: - <<: *email_releng_ptl_defaults + <<: *email_releng_ptl_defaults - publisher: name: 'email-releng-utils-ptl' - publishers: - <<: *email_releng_ptl_defaults + <<: *email_releng_ptl_defaults - publisher: name: 'email-releng-xci-ptl' - publishers: - <<: *email_releng_ptl_defaults + <<: *email_releng_ptl_defaults - publisher: name: 'email-samplevnf-ptl' |