Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,795
Community Members
 
Community Events
168
Community Groups

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 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

301 views 0 7
Read article

Atlassian Community Events