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

Snippet Generator no longer includes global variables

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • pipeline
    • None

      Since moving the Snippet Generator outside of jobs, it no longer includes the help docs from global variables.

          [JENKINS-35395] Snippet Generator no longer includes global variables

          Andrew Bayer created issue -
          Andrew Bayer made changes -
          Epic Link New: JENKINS-35393 [ 171186 ]

          Andrew Bayer added a comment -

          From https://github.com/jenkinsci/workflow-cps-plugin/commit/f3958997d201d39a952c6572eb623a8730b822d7, it looks like the Global Variable section from the old block.jelly wasn't copied over to the new index.jelly - jglick, was that a deliberate omission?

          Andrew Bayer added a comment - From https://github.com/jenkinsci/workflow-cps-plugin/commit/f3958997d201d39a952c6572eb623a8730b822d7 , it looks like the Global Variable section from the old block.jelly wasn't copied over to the new index.jelly - jglick , was that a deliberate omission?
          Andrew Bayer made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Jesse Glick [ jglick ]

          Andrew Bayer added a comment -

          I tried copy-pasting it into block.jelly and it didn't work - it gets the dropdown list of the GlobalVariable that are available but doesn't render the help.

          Andrew Bayer added a comment - I tried copy-pasting it into block.jelly and it didn't work - it gets the dropdown list of the GlobalVariable that are available but doesn't render the help.

          Andrew Bayer added a comment -

          Whoops, when I moved it around it worked. PR incoming.

          Andrew Bayer added a comment - Whoops, when I moved it around it worked. PR incoming.
          Andrew Bayer made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Andrew Bayer [ abayer ]
          Andrew Bayer made changes -
          Remote Link New: This issue links to "PR 17 (Web Link)" [ 14422 ]

          Andrew Bayer added a comment -

          Andrew Bayer added a comment - PR up - https://github.com/jenkinsci/workflow-cps-plugin/pull/17
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            abayer Andrew Bayer
            abayer Andrew Bayer
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: