Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Validating Python Scripts using Bamboo

I have a lot of Python + Spark scripts in bitbucket, I use bamboo to do some variable replacement and deploy into a target environment.  I might need to validate the code using Pylint or sonarqube(not sure if Sonarqube will support python). any guidance on how to start with ?

1 answer

1 accepted

Hi! How are you doing?

In fact you could combine both Pylint and SonarQube.

You would have to install Pylint and Sonar Scanner in your Bamboo agent machine.

In your script you would have to call Pylint and then send the results to SonarQube using either the Sonar for Bamboo paid app (https://marketplace.atlassian.com/apps/1212756/sonar-for-bamboo?hosting=server&tab=overview) or the Sonar Scanner command line.

This page describes how to generate the Pylint report and how to inform SonarQube the path of it: https://docs.sonarqube.org/latest/analysis/languages/python/ 

Hope this helps!

The Sonarqube paid add has specific to Java. Do we have for Python?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

52 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