From 9347eaa5910bea92afb01a5cb3b3b1f5661d5f17 Mon Sep 17 00:00:00 2001 From: lenka Date: Fri, 5 Apr 2024 18:47:17 -0700 Subject: [PATCH] short --- .buildkite/longruns/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/longruns/pipeline.yml b/.buildkite/longruns/pipeline.yml index 359e1a0e64..02fc2e52ab 100644 --- a/.buildkite/longruns/pipeline.yml +++ b/.buildkite/longruns/pipeline.yml @@ -324,7 +324,7 @@ steps: 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/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" + slack-message -c "#coupler-report" -x "Interactive overall job performance history: [click here]($$URL)" --attachment "{\"pretext\": \"\", \"title\": \"Short Description\", \"title_link\": \"$$URL\"}" # - label: ":envelope: Slack report: Slabplanet" # command: # - slack-upload -c "#coupler-report" -f experiments/AMIP/output/slabplanet/slabplanet_coupler_sf_evolve_ocn_artifacts/total_energy_bucket.png -m png -n slab_coarse -x "Slabplanet energy conservation"