diff --git a/.changelog/20260424154037_ck_20081.md b/.changelog/20260424154037_ck_20081.md new file mode 100644 index 000000000..dfdba7591 --- /dev/null +++ b/.changelog/20260424154037_ck_20081.md @@ -0,0 +1,9 @@ +--- +type: Fix +scope: + - ckeditor5-dev-ci +closes: + - ckeditor/ckeditor5#20081 +--- + +Fixed `ckeditor5-dev-ci-notify-circle-status` reporting "Build time: Unavailable." in Slack notifications. The CircleCI job API was called with a pipeline number instead of a job number, so the request did not return a valid `started_at` timestamp. diff --git a/packages/ckeditor5-dev-ci/bin/notify-circle-status.js b/packages/ckeditor5-dev-ci/bin/notify-circle-status.js index 9a9c9d32b..91eb00420 100755 --- a/packages/ckeditor5-dev-ci/bin/notify-circle-status.js +++ b/packages/ckeditor5-dev-ci/bin/notify-circle-status.js @@ -33,6 +33,7 @@ const { // Variables that are available by default in Circle environment. CIRCLE_BRANCH, + CIRCLE_BUILD_NUM, CIRCLE_PROJECT_REPONAME, CIRCLE_PROJECT_USERNAME, CIRCLE_SHA1, @@ -126,7 +127,7 @@ async function getJobData() { CIRCLE_PROJECT_USERNAME, CIRCLE_PROJECT_REPONAME, 'job', - cliArguments[ 'pipeline-id' ] + CIRCLE_BUILD_NUM ].join( '/' ); const fetchOptions = {