Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66537

Active Choice Reactive Parameter with Scriptlet returns no option values

    XMLWordPrintable

Details

    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

      Attachments

        Activity

          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

          ioannis Ioannis Moutsatsos added a comment - 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

          Must approve scriptlet first. Not an issue with Active choices

          ioannis Ioannis Moutsatsos added a comment - Must approve scriptlet first. Not an issue with Active choices

          People

            kinow Bruno P. Kinoshita
            ioannis Ioannis Moutsatsos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: