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

Prevent triggering a plan for a delete commit

I have a bamboo plan associated with gitHub repository via repository polling trigger. Now I want not to trigger my plan when there is a commit with file delete on the repository. Is it possible? I can even set this up for remote triggering, but I couldn't find a way to accomplish this.

1 answer

1 accepted

0 votes
Answer accepted
Jeyanthan I Atlassian Team Jun 10, 2020

Hi @Manoj.Murali

Yes. You may choose Exclude all changes that matches to the following pattern option under Include / exclude files option and add a File pattern (in the form of a regular expression) underneath in your respective linked repository under Change detection options section.


Thanks for the reply @Jeyanthan I .

I am not sure whether this will work for me. As, say for example, I have 3 files in my repo a.json



and I deleted c.json OR b.json and pushed it. now, since there is a commit on to the repo my build plan will trigger the pipeline. I wan this to be avoided. By excluding the matching file pattern, I think we can't avoid trigger for the action on the file.

Do you see this differently?

Suggest an answer

Log in or Sign up to answer
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...

50 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