Shippable / support

Shippable SaaS customers can report issues and feature requests in this repository
100 stars 28 forks source link

Ignore building a project if certain files are updated in shippable #5106

Open tkumark opened 4 years ago

tkumark commented 4 years ago

Is it possible to put an exclude/ignore option in shippable.yml so that if certains file or folder is checked it does not trigger a new build?

a-murphy commented 4 years ago

There are not currently any file-level options that can be specified in a shippable.yml, however, you can check if a particular file has changed in your scripts and take different actions.

tkumark commented 4 years ago

How would you check if a file has changed? can you please elaborate?

a-murphy commented 4 years ago

This blog post may be helpful: http://blog.shippable.com/ci/cd-of-microservices-using-mono-repos. It includes actions that vary depending on which directories have been updated.