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

BitBucket Server Token Authentication #1450

Open
Ernest0-Production opened this issue Aug 2, 2023 · 0 comments
Open

BitBucket Server Token Authentication #1450

Ernest0-Production opened this issue Aug 2, 2023 · 0 comments

Comments

@Ernest0-Production
Copy link

Ernest0-Production commented Aug 2, 2023

Report

What did you do?

I tried setting for Danger ruby:

export DANGER_BITBUCKETSETSERVER_HOST = 'xxx'
export DANGER_BITBUCKETSETSERVER_USERNAME = 'yyy'
export DANGER_BITBUCKETSETSERVER_TOKEN = 'zzz'

bundle exec danger

What did you expect to happen?

An authorization error occurred

What happened instead?

I expected authorization to happen.
I looked at the source code of danger ruby and saw that it doesn't support authorization token.

However, according to the documentation, danger typescript does.
https://danger.systems/js/usage/bitbucket_server.html

Your Environment

  • Which CI are you running on? - Bitbucker server
  • Are you running the latest version of Danger? - yes
  • What is your Dangerfile?
warn('PR is classed as Work in Progress') if bitbucket_server.pr_title.include? '[WIP]'

message 'Welcome, Danger.'

rubocop.lint
swiftlint.lint_files
@Ernest0-Production Ernest0-Production changed the title BitBucket Server Token Authentification BitBucket Server Token Authentication Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants