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

Extended Choice Parameter Plug in in Jenkins 2.0 always show that there are scripts to approve

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Jenkins ver. 2.0
      Extended Choice Parameter Plug-In 0.64

      It seeems that the Extended Choice Parameter Plug-In [tried version 0.64] and Jenkins ver. 2.0 don't work together.

      When I create a simple groovy script for the plugin and I try to launch the build it appears the message:

      "You have unapproved groovy scripts that need approval before they can be executed. Go to In-Process Script Approval page to approve your scripts."

      However in the approval page there are no scripts to be approved. See attached screenshot for the reference script I used.

      If the script is modified in the build configuration page, it is appearing correctly as a script to be approved. However approving it, will still display the message

      "You have unapproved groovy scripts that need approval before they can be executed. Go to In-Process Script Approval page to approve your scripts."

      This happened after the upgrade to Jenkins 2.0 from Jenkins ver. 1.656

        1. config-example.png
          config-example.png
          37 kB
        2. Selection_011.png
          Selection_011.png
          35 kB
        3. Selection_012.png
          Selection_012.png
          33 kB
        4. Selection_013.png
          Selection_013.png
          19 kB
        5. test_job_2.xml
          3 kB
        6. test_job.xml
          2 kB

            vimil vimil
            dawez Davide Z.
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: