When a BitBucket CI pipeline fails, the user can retry just the failed steps. This does NOT create a new pipeline, instead it increments the environment variable BITBUCKET_STEP_RUN_NUMBER see https://community.atlassian.com/t5/Bitbucket-questions/About-the-BITBUCKET-STEP-RUN-NUMBER-Default-Variable/qaq-p/1319257
We need to send this variable to the Dashboard API when recording so we can properly assign the recordings