We´ve created a (freestyle) job with one parameter of type "List maven artifact versions".
We use a regex to filter the versions of the available artifacts.
When starting the job manually, all available versions are filtered using the given RegEx showing up a chooce-list with lets say all releases of my Pattern. If I select one I can access the choosen version in as shell step with $COMPONENT_VERSION:
When the same job is triggered by a cron (*/5 * * * 1-5) the result is different:
The returned value of $COMPONENT_VERSION is empty:
I would expect the plugin will return the same value - regardless of the way the job was started.