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

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

          [JENKINS-34524] Extended Choice Parameter Plug in in Jenkins 2.0 always show that there are scripts to approve

          Davide Z. created issue -
          Davide Z. made changes -
          Attachment New: Selection_012.png [ 32577 ]
          Davide Z. made changes -
          Attachment New: Selection_013.png [ 32578 ]
          Davide Z. made changes -
          Comment [ Scripts to be approved appears empty ]
          Davide Z. made changes -
          Comment [ It seems that you still have to approve something even after you approve it ]
          Davide Z. made changes -
          Attachment New: test_job.xml [ 32593 ]
          vimil made changes -
          Attachment New: config-example.png [ 32598 ]
          vimil made changes -
          Attachment New: screenshot-1.png [ 32599 ]
          vimil made changes -
          Attachment Original: screenshot-1.png [ 32599 ]
          Davide Z. made changes -
          Attachment New: test_job_2.xml [ 32601 ]
          vimil made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: