VSTS Gems- Skip scheduled builds if nothing has changed in the repo
VSTS is a great platform, but did you know about its gems?
Follow this short post series where we undercover some of its coolest features.
Gem
Skip scheduled builds if nothing has changed in the repo.
<click> on image for animation.
Area
Build
TFS Availability
Future
Value
- Save Compute resources (agents)
- Reduce build noise
- Avoid unnecessary steps (for example: publish artifact)
Full Description
Skip scheduled builds if nothing has changed in the repo.
By popular request on UserVoice, you can now specify that a scheduled build not run when nothing has changed in your code.
You can control this behavior using an option on the schedule.
By default, we will not schedule a new build if your last scheduled build (from the same schedule) has passed and no further changes have been checked in to your repo.
Find more gems on the Rangers blog
Find more gems on Twitter