The Selective Builds setting provides change detection for your builds. Enabling it allows you to only trigger a build of an app if certain files or folders have changed.
You may want to use this setting if:
- you have multiple apps in a single repository
- multiple apps share common files in your repository
A GitHub project is required
The current version of our Selective Builds feature only works with GitHub projects. If your repository is hosted by another git hosting service, the option will not be available.
Service credential user
The appropriate Service credential user must be set on your app's
Team page. This user must have an admin right for the GitHub repository of the project. Read more about setting up the Service credential user.
Click on your app on your
Settingsin the top navigation bar.
ENABLE SELECTIVE BUILDSoption and toggle the switch on the right.
Add filenames and file paths in the
ADD FILENAME/PATHwindow. You can add multiple files or file paths here. A build will be triggered only if these files are changed.