From: halil.cakal Date: Fri, 6 Sep 2024 14:30:10 +0000 (+0100) Subject: add plot for http request failures X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F37%2F22237%2F2;p=infra%2Fcicd.git add plot for http request failures Issue-ID: CPS-2350 Change-Id: Icb3c970345ea43686cbf98325e40b056dc4f6891 Signed-off-by: halil.cakal --- diff --git a/jjb/onap/cps/prepare-k6-performance-tests-plots.sh b/jjb/onap/cps/prepare-k6-performance-tests-plots.sh index 6f9bfea7..a2033c78 100755 --- a/jjb/onap/cps/prepare-k6-performance-tests-plots.sh +++ b/jjb/onap/cps/prepare-k6-performance-tests-plots.sh @@ -56,7 +56,7 @@ getSummaryCsv() { buildToRead=$1 consoleURL="${JENKINS_JOB_URL}/${buildToRead}/consoleText" # Extract summary CSV from Jenkins console output - curl -s "$consoleURL" | sed -n '/-- BEGIN CSV REPORT/, /-- END CSV REPORT/p' | grep "^[1-9].*,.*,.*,.*,.*$" || true + curl -s "$consoleURL" | sed -n '/-- BEGIN CSV REPORT/, /-- END CSV REPORT/p' | grep "^[0-9].*,.*,.*,.*,.*$" || true } # Get and record the latest k6-job-results with the build number for all tests