diff --git a/Jenkinsfile b/Jenkinsfile index 0b4a40c2..5cd513ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -156,7 +156,7 @@ PY script { env.FLUX_BRANCH = sh( returnStdout: true, - script: "awk '/branch:/{print $2; exit}' clusters/atlas/flux-system/gotk-sync.yaml" + script: "awk '/branch:/{print \\$2; exit}' clusters/atlas/flux-system/gotk-sync.yaml" ).trim() if (!env.FLUX_BRANCH) { error('Flux branch not found in gotk-sync.yaml') diff --git a/services/logging/Jenkinsfile.data-prepper b/services/logging/Jenkinsfile.data-prepper index 1e9b1a3b..6011727c 100644 --- a/services/logging/Jenkinsfile.data-prepper +++ b/services/logging/Jenkinsfile.data-prepper @@ -222,9 +222,8 @@ EOF if [ "${status}" != "ok" ]; then gate_glue_check="failed" fi - if ! cat </dev/null; then + cat </dev/null || \ echo "warning: metrics push failed for suite=${suite}" >&2 - fi # TYPE platform_quality_gate_runs_total counter platform_quality_gate_runs_total{suite="${suite}",status="ok"} ${ok_count} platform_quality_gate_runs_total{suite="${suite}",status="failed"} ${failed_count}