Skip to content

Commit

Permalink
Use new env variable to replace old
Browse files Browse the repository at this point in the history
  • Loading branch information
Soyn committed Aug 1, 2019
1 parent caa1c5d commit f835304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/ci_source/providers/BitbucketPipelines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class BitbucketPipelines implements CISource {
}

get repoSlug(): string {
return `${this.env.BITBUCKET_REPO_OWNER}/${this.env.BITBUCKET_REPO_SLUG}`
return `${this.env.BITBUCKET_REPO_FULL_NAME}`
}

get repoURL(): string {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const correctEnv = {
BITBUCKET_BUILD_NUMBER: "5",
BITBUCKET_PR_DESTINATION_COMMIT: "91c917d4389b82ec11a0d372b9e5754eb7727e4a",
BITBUCKET_REPO_OWNER: "foo",
BITBUCKET_REPO_FULL_NAME: "foo/bar",
}

describe("being found when looking for CI", () => {
Expand Down

0 comments on commit f835304

Please sign in to comment.