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 option is only effective where a version has already been delivered. Options will be ignored for the first version delivered for an Application.
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:
INF: 2020-11-10 17:04:19: Actual percentage change in delivery report for added version is : 0.0 INF: 2020-11-10 17:04:19: stop delivery as percentage change in delivery report for added version is : 0.0