Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.
This repository was archived by the owner on Jan 7, 2021. It is now read-only.

BitBucket cloud support #66

@4n4n4s

Description

@4n4n4s

Hi,
I want to test out your sonar analysis on my test project that I created on Bitbucket. Therefore I already set up a Jenkins build and added SonarQube to it.

My Test Repository is placed here:
https://bitbucket.org/4n4n4s/hooktest

-Dsonar.host.url=http://mysonardomain.com:9000
-Dsonar.projectKey=hooktest
-Dsonar.projectName=hooktest project
-Dsonar.projectVersion=1.0
-Dsonar.projectBaseDir=/var/jenkins_home/workspace/hooktest
-Dsonar.sources=.

-Dsonar.analysis.mode=preview
-Dsonar.stash.url=https://bitbucket.org/4n4n4s/
-Dsonar.stash.notification=true
-Dsonar.stash.login=4n4n4s
-Dsonar.stash.password=MY_BITBUCKET_PASSWORD
-Dsonar.stash.project=hooktest
-Dsonar.stash.repository=hooktest
-Dsonar.stash.pullrequest.id=1

When I start the jenkins build I get the following exception. Maybe I just misconfigured the sonar.stash properties but I found no documentation for bitbucket here.

INFO: Executing post-job org.sonar.plugins.stash.StashIssueReportingPostJob
ERROR: Unable to get SonarQube reviewer from Stash: java.util.concurrent.ExecutionException: java.net.ConnectException: Received fatal alert: handshake_failure
ERROR: Process stopped: no SonarQube reviewer identified to publish to Stash the SQ analysis

As a result I would also like to add some documentation how sonar-stash can be used with jenkins + bitbucket.
Thanks for your help.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions