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
          37 kB
          vimil
        2. Selection_011.png
          35 kB
          Davide Z.
        3. Selection_012.png
          33 kB
          Davide Z.
        4. Selection_013.png
          19 kB
          Davide Z.
        5. test_job_2.xml
          3 kB
          Davide Z.
        6. test_job.xml
          2 kB
          Davide Z.

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

              Created:
              Updated:
              Resolved: