These options are aimed at preventing a new analysis or snapshot from being run if the delivered source code:
- has changed by X% - for example, this option can be used to detect a very large change in source code which could indicate a problem that has not been identified prior to delivery
- has not changed at all - i.e. this can avoid a wasteful re-analysis process if the source code has not changed.
The two options can be used in conjunction:
|Stop delivery if percent of change is higher than x%
|Disabled by default. This option will cause a version delivery to be stopped if the changed source code in the new delivery is more than x%. The aim of this option is, for example, to avoid analyzing source code that may be problematic - i.e. there has been a fundamental change in architecture.
|Stop delivery if there is no change
|Disabled by default. This option will cause a version delivery to be stopped if the source code in the new delivery has not changed at all - saving time.
If the options are triggered, the code delivery process will be halted and a warning message will be logged. For example:
The log for this step will contain similar to the following: