Skip to content

Commit

Permalink
Merge pull request #1113 from rogerluan/patch-2
Browse files Browse the repository at this point in the history
Fix Bitrise's `ciRunURL` underlying env var
  • Loading branch information
orta committed Feb 22, 2021
2 parents d351a2a + 39f2fdd commit 497fac0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
## Main

<!-- Your comment below this -->
- Fixed Bitrise's `ciRunURL` underlying env var - [@rogerluan]
- Simplified Bitrise repo slug lookup, fixing SSH URL parsing in BitBucketServer - [@rogerluan]
- Changed `CHANGELOG.md` merge strategy to union to avoid merge conflicts - [@rogerluan]
- Log failure to update status also when not in verbose mode - [@rogerluan]
Expand Down
4 changes: 3 additions & 1 deletion source/ci_source/providers/Bitrise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ export class Bitrise implements CISource {
}

get ciRunURL() {
return this.env.BITRISE_PULL_REQUEST
return this.env.BITRISE_BUILD_URL
}

get commitHash() {
return this.env.BITRISE_GIT_COMMIT
}
}

// See https://devcenter.bitrise.io/builds/available-environment-variables/

0 comments on commit 497fac0

Please sign in to comment.