Atlassian Bamboo: don't trigger build if changes were made to a specific file -
i have plan in bamboo starts whenever changes made attached repositories (via polling).
now, on each build, if successful, changelog file updated in repo, in turn, triggers build. how can omit files bamboo's polling, build isn't started if changes found files? because otherwise, enter in infinite loop, change changelog triggering build in turn updated changelog , on.
if not possible, other viable solutions there? possible attach shell script somewhere before build starts check whether it's desired start new build?
it turned out simpler i've thought. in plan configuration, in repositories tab, on each repository, under advanced, there include / exclude files input can customise files bamboo uses detect changes. adding regular expression there, got solved , working expected.
bamboo pattern matching reference: https://confluence.atlassian.com/display/bamboo/pattern+matching+reference
Comments
Post a Comment