Skip to content

Commit

Permalink
try BUILD_HISTORY_LINK
Browse files Browse the repository at this point in the history
  • Loading branch information
LenkaNovak committed Apr 5, 2024
1 parent e2e5750 commit 310e2ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .buildkite/longruns/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,15 @@ steps:
- |
slack-upload -c "#coupler-report" -f build_history.html -m html -n build_history -x "Overall job performance"
BUILD_HISTORY_LINK= <https://github.com/CliMA/ClimaCoupler.jl|ClimaCoupler.jl>
echo "Interactive overall job performance history $$BUILD_HISTORY_LINK"
slack-message -c "#coupler-report" -x "Interactive overall job performance history $$BUILD_HISTORY_LINK"
slack-message -c "#coupler-report" -x "Interactive overall job performance history $$BUILD_HISTORY_LINK"
- label: ":envelope: Slack report: build_history new"
command:
- |
# this writes the build history to a file
BUILD_HISTORY_LINK=$(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 '.[0].download_url')
slack-message -c "#coupler-report" -x "Interactive overall job performance history $$BUILD_HISTORY_LINK"
# - 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"
Expand Down

0 comments on commit 310e2ea

Please sign in to comment.