-
Notifications
You must be signed in to change notification settings - Fork 588
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1248 from TWith2Sugars/bitbucket-pipeline
Added basic support for bitbuckets piplines CI
- Loading branch information
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/// Contains code to configure FAKE for Bitbucket Pipelines integration | ||
module Fake.BitbucketPipelines | ||
|
||
/// Bitbucket Pipelines environment variables as [described](https://confluence.atlassian.com/bitbucket/environment-variables-in-bitbucket-pipelines-794502608.html) | ||
type BitbucketPipelinesEnvironment = | ||
|
||
/// The commit hash of a commit that kicked off the build | ||
static member Commit = environVar "BITBUCKET_COMMIT" | ||
|
||
/// The branch on which the build was kicked off. This value is only available on branches. | ||
static member Branch = environVar "BITBUCKET_BRANCH" | ||
|
||
/// The tag of a commit that kicked off the build. This value is only available on tags. | ||
static member Tag = environVar "BITBUCKET_TAG" | ||
|
||
/// The URL-friendly version of a repository name. | ||
static member RepoSlug = environVar "BITBUCKET_REPO_SLUG" | ||
|
||
/// The name of the account in which the repository lives | ||
static member RepoOwner = environVar "BITBUCKET_REPO_OWNER" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters