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

Groovy Postbuild under Promotion Actions always opens empty "Classpath entry" resulting "Save" exception

    XMLWordPrintable

Details

    Description

      Under "Promotion Actions",
      when using "Groovy Postbuild" action,
      by default,
      it always opens an empty "Classpath entry" field everytime.

      If I forgot to click "x" to remove the field,
      and click "Save" or "Apply" button,
      then Jenkins would throw exception error.

      Attachments

        1. Selection_023.png
          Selection_023.png
          46 kB
        2. Selection_024.png
          Selection_024.png
          214 kB
        3. Selection_025.png
          Selection_025.png
          208 kB

        Issue Links

          Activity

            oleg_nenashev Oleg Nenashev added a comment -

            The issue is not specific to Promoted Builds, it's how the Script Security plugin gets rendered due to its layout. IMO it should be fixed on its side

            oleg_nenashev Oleg Nenashev added a comment - The issue is not specific to Promoted Builds, it's how the Script Security plugin gets rendered due to its layout. IMO it should be fixed on its side
            abayer Andrew Bayer added a comment -

            oleg_nenashev Actually, isn't this Groovy Postbuild?

            abayer Andrew Bayer added a comment - oleg_nenashev Actually, isn't this Groovy Postbuild?
            gverdoliva Giuseppe Verdoliva added a comment - - edited Fix this issue: https://github.com/jenkinsci/script-security-plugin/pull/208

            People

              Unassigned Unassigned
              totoroliu Rick Liu
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: