Skip to content
renevanosnabrugge edited this page May 11, 2017 · 1 revision

Description

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:

  • Check if build changed
  • Setting an output variable with the value
  • Setting one or multiple tags when the build did not change
  • Setting one or multiple tags when the build changed

Documentation

This task was inspired by my blogpost that I wrote for checking if a Build changed. Please check the Wiki (coming soon).

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

and(always(), eq(variables['vars.buildchanged'], 'true'))

Clone this wiki locally