The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Checking code with bamboo

Nike
Contributor
December 9, 2021

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

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Charlie Misonne
Community Champion
December 9, 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!

Nike
Contributor
December 9, 2021

Thank you

TAGS
AUG Leaders

Atlassian Community Events