From 58f7c4f41bc73f57c0d753a6a44c40c9416bc09b Mon Sep 17 00:00:00 2001 From: finalerock44 <77282157+finalerock44@users.noreply.github.com> Date: Fri, 26 Jun 2026 14:01:04 +0100 Subject: [PATCH] feat: forward CI identity to the CLI for DB-driven notices Export DCD_CI_PROVIDER=bitrise (+ optional DCD_CI_WRAPPER_VERSION) before the dcd CLI call so notices can target this Bitrise step. --- step.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/step.sh b/step.sh index 36f975c..d309850 100644 --- a/step.sh +++ b/step.sh @@ -136,6 +136,10 @@ ${metadata_parsed} \ # Capture the command output and display it echo "Waiting for full test results so we can parse outputs... this may take a while for non-async tests" echo "Check status at https://console.devicecloud.dev/results" +# Forward CI identity so DCD notices can target this Bitrise step. DCD_STEP_VERSION +# can be set to forward the step version; provider alone enables CI-surface notices. +export DCD_CI_PROVIDER="bitrise" +export DCD_CI_WRAPPER_VERSION="${DCD_STEP_VERSION:-}" OUTPUT=$(npx --yes "$DCD_VERSION" cloud --quiet \ --apiKey "$api_key" \ ${allure_path:+--allure-path "$allure_path"} \