From 48fed53afe381927e1f56a4414089bfec31d63c2 Mon Sep 17 00:00:00 2001 From: lenka Date: Fri, 5 Apr 2024 18:37:38 -0700 Subject: [PATCH] fox url --- .buildkite/longruns/pipeline.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.buildkite/longruns/pipeline.yml b/.buildkite/longruns/pipeline.yml index caac8917f..359e1a0e6 100644 --- a/.buildkite/longruns/pipeline.yml +++ b/.buildkite/longruns/pipeline.yml @@ -322,7 +322,8 @@ steps: - | ARTIFACT_ID=$(curl -s -H "Authorization: Bearer $BUILDKITE_READ_ARTIFACTS_API_TOKEN" -X GET "https://api.buildkite.com/v2/organizations/clima/pipelines/climacoupler-longruns/builds/$$BUILDKITE_BUILD_NUMBER/artifacts" | jq -r '.[] | select(.filename == "build_history.html") | .id') JOB_ID=$(curl -s -H "Authorization: Bearer $BUILDKITE_READ_ARTIFACTS_API_TOKEN" -X GET "https://api.buildkite.com/v2/organizations/clima/pipelines/climacoupler-longruns/builds/$$BUILDKITE_BUILD_NUMBER/artifacts" | jq -r '.[] | select(.filename == "build_history.html") | .job_id') - URL=$(curl -H "Authorization: Bearer $BUILDKITE_READ_ARTIFACTS_API_TOKEN" -X GET "https://api.buildkite.com/v2/organizations/clima/pipelines/climaatmos-ci/builds/$$BUILDKITE_BUILD_NUMBER/jobs/$$JOB_ID/artifacts/$$ARTIFACT_ID/download"| jq) + URL=$(curl -H "Authorization: Bearer $BUILDKITE_READ_ARTIFACTS_API_TOKEN" -X GET "https://api.buildkite.com/v2/organizations/clima/pipelines/climacoupler-longruns/builds/$$BUILDKITE_BUILD_NUMBER/jobs/$$JOB_ID/artifacts/$$ARTIFACT_ID/download"| jq -r '.url') + echo "Interactive overall job performance history $$URL" slack-message -c "#coupler-report" -x "Interactive overall job performance history $$URL" # - label: ":envelope: Slack report: Slabplanet" # command: