diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index 9a6290f13e86..079fcd0db276 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -3,6 +3,10 @@ _Released 04/11/2023 (PENDING)_ +**Bugfixes:** + + - Capture the [Azure](https://azure.microsoft.com/) CI provider's environment variable [`SYSTEM_PULLREQUEST_PULLREQUESTNUMBER`](https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#system-variables-devops-services) to display the linked PR number in the Cloud. Addressed in [#26215](https://github.com/cypress-io/cypress/pull/26215). + **Dependency Updates:** - Upgraded [`minimist`](https://www.npmjs.com/package/minimist) from `1.2.6` to `1.2.8` to address this [CVE-2021-44906](https://github.com/advisories/GHSA-xvch-5gv4-984h) NVD security vulnerability. Addressed in [#26254](https://github.com/cypress-io/cypress/pull/26254). @@ -22,6 +26,7 @@ _Released 03/28/2023_ - Changed the way that Git hashes are loaded so that non-relevant runs are excluded from the Debug page. Fixes [#26058](https://github.com/cypress-io/cypress/issues/26058). - Corrected the [`.type()`](https://docs.cypress.io/api/commands/type) command to account for shadow root elements when determining whether or not focus needs to be simulated before typing. Fixes [#26198](https://github.com/cypress-io/cypress/issues/26198). - Fixed an issue where an incorrect working directory could be used for Git operations on Windows. Fixes [#23317](https://github.com/cypress-io/cypress/issues/23317). + - Capture the [Buildkite](https://buildkite.com/) CI provider's environment variable `BUILDKITE_RETRY_COUNT` to handle CI retries in the Cloud. Addressed in [#25750](https://github.com/cypress-io/cypress/pull/25750). **Misc:** @@ -35,10 +40,6 @@ _Released 03/15/2023_ - Fixed a regression in Cypress [10](https://docs.cypress.io/guides/references/changelog#10-0-0) where the reporter auto-scroll configuration inside user preferences was unintentionally being toggled off. User's must now explicitly enable/disable auto-scroll under user preferences, which is enabled by default. Fixes [#24171](https://github.com/cypress-io/cypress/issues/24171) and [#26113](https://github.com/cypress-io/cypress/issues/26113). -**Misc:** - -- Capture the [Buildkite](https://buildkite.com/) CI provider's environment variable `BUILDKITE_RETRY_COUNT` to handle CI retries in the Cloud. Addressed in [25750](https://github.com/cypress-io/cypress/pull/25750). - **Dependency Updates:** - Upgraded [`ejs`](https://www.npmjs.com/package/ejs) from `3.1.6` to `3.1.8` to address this [CVE-2022-29078](https://github.com/advisories/GHSA-phwq-j96m-2c2q) NVD security vulnerability. Addressed in [#25279](https://github.com/cypress-io/cypress/pull/25279). diff --git a/packages/server/lib/util/ci_provider.js b/packages/server/lib/util/ci_provider.js index 26729c4f9f3a..99db3b53c5af 100644 --- a/packages/server/lib/util/ci_provider.js +++ b/packages/server/lib/util/ci_provider.js @@ -159,6 +159,7 @@ const _providerCiParams = () => { 'BUILD_BUILDNUMBER', 'BUILD_CONTAINERID', 'BUILD_REPOSITORY_URI', + 'SYSTEM_PULLREQUEST_PULLREQUESTNUMBER', ]), awsCodeBuild: extract([ 'CODEBUILD_BUILD_ID', diff --git a/packages/server/test/unit/util/ci_provider_spec.js b/packages/server/test/unit/util/ci_provider_spec.js index 0103012752b4..21ab585cf499 100644 --- a/packages/server/test/unit/util/ci_provider_spec.js +++ b/packages/server/test/unit/util/ci_provider_spec.js @@ -1116,6 +1116,7 @@ describe('lib/util/ci_provider', () => { BUILD_BUILDNUMBER: 'buildNumber', BUILD_CONTAINERID: 'containerId', BUILD_REPOSITORY_URI: 'buildRepositoryUri', + SYSTEM_PULLREQUEST_PULLREQUESTNUMBER: 'systemPullrequestPullrequestnumber', BUILD_SOURCEVERSION: 'commit', BUILD_SOURCEBRANCHNAME: 'branch', @@ -1130,6 +1131,7 @@ describe('lib/util/ci_provider', () => { buildBuildnumber: 'buildNumber', buildContainerid: 'containerId', buildRepositoryUri: 'buildRepositoryUri', + systemPullrequestPullrequestnumber: 'systemPullrequestPullrequestnumber', }) return expectsCommitParams({