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>
# ============LICENSE_START================================================
# ONAP
# =========================================================================
# ============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.
# =========================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
grep "job-status-red" "$jenkins_report_temp_file" |
grep -v stage |
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)}'
cut -f1 -d' ' |
sed 's/_/\//' |
awk '{printf("https://jenkins.onap.org/%s\n", $1)}'
echo "invalid jobs"
echo "------------"
grep -v -E "(job-status-red|job-status-yellow|job-status-blue)" "$jenkins_report_temp_file" |
echo "invalid jobs"
echo "------------"
grep -v -E "(job-status-red|job-status-yellow|job-status-blue)" "$jenkins_report_temp_file" |
cut -f1 -d' ' |
sed 's/_/\//' |
awk '{printf("https://jenkins.onap.org/%s\n", $1)}'
cut -f1 -d' ' |
sed 's/_/\//' |
awk '{printf("https://jenkins.onap.org/%s\n", $1)}'