Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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.

Cheers,
Jey

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

b.json 

c.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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

513 views 5 7
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