From 010297e6896811d1cbb10aa1b189e7e65976fd3b Mon Sep 17 00:00:00 2001 From: liamfallon Date: Thu, 19 Oct 2023 08:52:54 +0100 Subject: [PATCH] Update report script filters Update report script to ignore invalid and failed staging and release jobs, which are only vali and only run successfully during the release process. Issue-ID: POLICY-4854 Change-Id: I4722e9b719a82d727585e7d597f83ce77e913744 Signed-off-by: liamfallon --- integration/src/main/scripts/reports/pf_status_report.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration/src/main/scripts/reports/pf_status_report.sh b/integration/src/main/scripts/reports/pf_status_report.sh index 306985e9..76cdcbe9 100755 --- a/integration/src/main/scripts/reports/pf_status_report.sh +++ b/integration/src/main/scripts/reports/pf_status_report.sh @@ -3,7 +3,7 @@ # ============LICENSE_START================================================ # ONAP # ========================================================================= -# Copyright (C) 2022 Nordix Foundation. +# Copyright (C) 2022-2023 Nordix Foundation. # ========================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -96,6 +96,7 @@ echo "------------" grep "job-status-red" "$jenkins_report_temp_file" | grep -v stage | + grep -v release-merge | cut -f1 -d' ' | sed 's/_/\//' | awk '{printf("https://jenkins.onap.org/%s\n", $1)}' @@ -114,6 +115,7 @@ echo "" echo "invalid jobs" echo "------------" grep -v -E "(job-status-red|job-status-yellow|job-status-blue)" "$jenkins_report_temp_file" | + grep -v stage | cut -f1 -d' ' | sed 's/_/\//' | awk '{printf("https://jenkins.onap.org/%s\n", $1)}' -- 2.16.6