Status: Fixed but Unreleased (View Workflow)
When invoked by timer the return result is different from expected. This leads to incorrect configurations for build.
Defive Grrovy script as:
Run job manually (dont select any values). Actual/expected: result value is empty string.
Run job by timer. Expected: result value is empty string. Actual: value is equal to "*"
1. I use Multiconfiguration (matrix) job
2. I use groovy sandbox
3. Fallback script is empty
4. Choise type == checkbox
5. I dont use filtering function (Enable Filters == unchecked)
Jenkins version: 2.314
Plugin version - ? (I'm not admin)
JENKINS-42568 The selected option from Active Choice Parameter groovy script is not used when building a job periodically (using cron)
Hi, thanks for reporting the issue. I remembered reading a similar issue. I think I found it, so marking it as duplicated. But nevertheless, the more examples to reproduce the merrier thanks! And pull requests welcome in case you have time to work on it.