Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

Running sonarqube on a Go application from inside bitbucket pipelines

Hey everyone,

 

Last weekend I was working on adding sonar static analysis of my Go applications as part of our continuous delivery pipeline. When I was searching around I couldn't find a good example so it took me a lot of trial and error to get it running. Now that I have my use case figured out I wanted to share it here so that if anyone else is having this issue they could see how I solved it.

https://haskovec.com/running-sonar-from-bitbucket-pipelines-on-your-go-apps/

I hope that is helpful for someone else and can save them some time.

2 comments

Hi @Jeffrey_Haskovec ,

Thank you for contributing to the community!

Also, you can use Bitbucket Pipes in your pipelines to speed up development and simplify the stuff.

We have some pipes from the SonarCloud:  SonarCloud scan and SonarCloud Quality Gate.

 

Cheers,
Alex

Hey Alex,

Thanks for the response. I looked at sonarcloud.io, but given that we are a startup and I am trying to keep costs down I ultimately chose to host sonar myself inside of our current Kubernetes cluster. When I looked at the sonar cloud pipe it looked like it was just for that service and not for any instance of sonar that a person may be running. As such I had to develop my own solution.

Like Oleksandr Kyrdan likes this

New custom pipes are welcome!

How to you can find in the Build flexible CI/CD pipelines with custom Pipes.

I may look into doing that if I have some time. Thanks for sharing the link!

Like Oleksandr Kyrdan likes this

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,320 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you