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

Checking code with bamboo

Edited

I need to automate finding some pattern in code after i did new commit in Bitbucket. Can I use bamboo for it and how i can use it?

1 answer

2 votes
Charlie Misonne Community Leader Dec 09, 2021

Hi Nikita, Welcome to the Atlassian Community!

Yes you can use Bamoo for that. Here are the highlevel steps:

First create a new Bamboo build plan and add the following tasks:

  1. Source code checkout
    This will fetch the code from Bitbucket
  2. Script task
    Can be Windows Powershell or Linux shell depending on your environment
    In this script task you can execute the search for the code pattern your looking for

You can also set a trigger on the build plan so it executes automatically on every commit.

Hope this helps!

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

212 views 0 4
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