Defining a "Trigger/call builds on other projects" build step with "Counter Parameter Factory" as follow:
FROM = 1
TO = $VARIABLE
STEP = 1
It should do nothing, I mean, do not build step, if $VARIABLE is zero but it is failing with following exception:
FATAL: Counting with step size 0 will not terminate!
java.lang.RuntimeException: Counting with step size 0 will not terminate!
|Field||Original Value||New Value|
|Assignee||huybrechts [ huybrechts ]||cjo9900 [ cjo9900 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Resolution||Fixed [ 1 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|
|Workflow||JNJira [ 144340 ]||JNJira + In-Review [ 191042 ]|