Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add bitbucket support #85

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

manjunathb4461
Copy link
Contributor

Added bitbucket support

@manjunathb4461 manjunathb4461 requested a review from a team January 30, 2021 16:50
@@ -56,6 +56,8 @@ about your Continuous Integration builds.`,
prov = providerAzurePipelines
} else if _, present := os.LookupEnv("GITHUB_ACTIONS"); present {
prov = providerGitHubActions
} else if _, present := os.LookupEnv("BITBUCKET_BUILD_NUMBER"); present {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bitbucket pipelines doesn't have any variable that is set true on each pipeline other than CI variable which is common in many CI systems like github-actions. So, I have used the build number to identify the integration system
more info - https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/

Copy link
Contributor

@paulosman paulosman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thanks for the contribution @manjunathb4461 !

@paulosman paulosman merged commit 177bef7 into honeycombio:main Feb 3, 2021
@manjunathb4461
Copy link
Contributor Author

This is great, thanks for the contribution @manjunathb4461 !

welcome 🙂

MikeGoldsmith added a commit that referenced this pull request Jun 21, 2021
…ite_env

* 'main' of github.com:honeycombio/buildevents: (40 commits)
  add apply labels workflow (#93)
  GitLab CI example (#90)
  Build an arm64 release (#91)
  * publish a draft release to GitHub (#87)
  Prepare for 0.5.0 release, add changelog (#86)
  Add support for overriding default fields (#76)
  fix providerAzurePipelines in main.go (#84)
  add bitbucket support (#85)
  Ensure PRs from forks can run CI checks (#82)
  added quiet option to cmd (#80)
  Use public CircleCI context for build secrets (#77)
  add codeowners with integration-team (#78)
  Encode spaces in dataset names for the URL (#73)
  Add beeline-style propagation of the cmd context to called commands (#74)
  we're on circle for this, no need to build on travis any longer (#69)
  make watch job more efficient (#70)
  drop vendor/ and upgrade go to 1.15.2 (#68)
  add GitHub actions as a supported CI provider, with data from env vars
  Correct a download link
  Add support for Azure Piplines and some initial env vars
  ...

# Conflicts:
#	README.md
#	cmd_root.go
#	common.go
#	main.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants