summaryrefslogtreecommitdiffstats
path: root/integration
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2023-10-19 08:52:54 +0100
committerLiam Fallon <liam.fallon@est.tech>2023-10-19 09:56:07 +0000
commit010297e6896811d1cbb10aa1b189e7e65976fd3b (patch)
tree5edcc006381728145f22e8f5726893971b29ca44 /integration
parente35557128acc34cc08790eb839b4c8740b4cd093 (diff)
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 <liam.fallon@est.tech>
Diffstat (limited to 'integration')
-rwxr-xr-xintegration/src/main/scripts/reports/pf_status_report.sh4
1 files changed, 3 insertions, 1 deletions
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)}'