This task enables you to check if a build has changed since the last time it has succesfully built. Sometimes a build did not change, but is scheduled for every night. Building is not a big deal, but you do not want to trigger a new release when the build did not change. This task enables you to check if a build changed by checking if the CommitID (Git) that triggered it is different than the last succesful build before. You can set an outut variable which contains a true or false, that you can use in subsequent tasks or in a custom condition. You can also set a tag to the build that if the build changed or did not change.
This task supports:
Enable the OAuth token in options Tab the build pipeline to access the TFS/VSTS REST API
Find the task in the Utility category of Build
If you have ideas or improvements, don't hestitate to leave feedback or file an issue.
This task is to check whether to execute a subsequent task when a build changed or not. You can do this with custom condition.
To execute a task only when the build did not change use the following statement in the Custom Condition