From 097f7349d3b2a918f67468c3c2d2b63b946987d1 Mon Sep 17 00:00:00 2001 From: Artem Naluzhnyy Date: Thu, 27 Jun 2019 14:14:14 +0200 Subject: Archive Coverity analysed files list to the logs server The list is stored in "cov-int/coverity-scan-analysed-files.log". Issue-ID: CIMAN-260 Signed-off-by: Artem Naluzhnyy Change-Id: Id27cb466977e0bd11e004fd819f66697ca16c26b --- jjb/ci-management/ci-management-coverity.yaml | 2 ++ shell/maven-coverity.sh | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/jjb/ci-management/ci-management-coverity.yaml b/jjb/ci-management/ci-management-coverity.yaml index 1d38ead72..ba37d5785 100644 --- a/jjb/ci-management/ci-management-coverity.yaml +++ b/jjb/ci-management/ci-management-coverity.yaml @@ -48,8 +48,10 @@ **/target/**/feature.xml **/target/failsafe-reports/failsafe-summary.xml **/target/surefire-reports/*-output.txt + **/cov-int/BUILD.metrics.xml **/cov-int/build-log.txt **/cov-int/build-timings.txt + **/cov-int/java-security-da-whitelist.dat properties: - lf-infra-properties: diff --git a/shell/maven-coverity.sh b/shell/maven-coverity.sh index e319b06d9..17601d441 100644 --- a/shell/maven-coverity.sh +++ b/shell/maven-coverity.sh @@ -109,6 +109,16 @@ cov-import-scm \ --dir 'cov-int' \ --scm 'git' +cov-manage-emit \ + --dir cov-int \ + list \ +| grep \ + --invert-match \ + '^Translation unit:$' \ +| sed \ + 's!^[[:digit:]]\+ -> !!' \ +> 'coverity-scan-analysed-files.log' + #----------------------------------------------------------------------------- # Submit results to Coverity service -- cgit 1.2.3-korg