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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.