Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Not A Defect
-
Active Choice plugin v2.5.6
Jenkins v2.303.1
Java-1.8.0-openjdk-1.8.0_252-2redhat
Description
In the example shown FILE_CONTENT is generated by a scriptlet that can be found on my github repo here: https://github.com/imoutsatsos/jenkins-scriptlets/blob/master/UC_helper_detectFileType.groovy
However, when a value is passed to it return nothing
Test project attached. Requires indicated scriptlet
The scriptlet code included a number of method signatures that were not yet approved in the Jenkins 'In-Process Script Approval' configuration. Once the signatures were approved, the scriptlets returned the expected ActiveChoice options