Skip to content

Commit

Permalink
fix(core): properly detect Windows Bamboo agents as CI environments.
Browse files Browse the repository at this point in the history
This will treat the `bamboo_buildKey` environment variable as an indicator
that the current environment is a CI environment.

Closes nrwl#26698
  • Loading branch information
scottpledger committed Jun 26, 2024
1 parent 92be32c commit 4b105af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nx/src/utils/is-ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export function isCI() {
process.env.CIRRUS_CI === 'true' ||
process.env.TRAVIS === 'true' ||
!!process.env['bamboo.buildKey'] ||
!!process.env['bamboo_buildKey'] ||
!!process.env.CODEBUILD_BUILD_ID ||
!!process.env.GITLAB_CI ||
!!process.env.HEROKU_TEST_RUN_ID ||
Expand Down

0 comments on commit 4b105af

Please sign in to comment.