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

Allow Workflow Snippet Generator to be used outside of a configuration page

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: pipeline
    • Labels:
    • Similar Issues:

      Description

      A user should have a way of accessing the Workflow Snippet Generator without having to create a job. At least, it would be useful to be able to link to a functional Workflow Snippet Generator. Since the available snippets may vary depending on the plugins installed, this is something that needs an active Jenkins instance. Perhaps the scripts could be stored in a shared location that could later be accessed by jobs.

        Attachments

          Issue Links

            Activity

            Hide
            gregcovertsmith Greg Smith added a comment -

            Thanks guys - I was able to find the new link.

            I did open a new related bug to this one, as the links are only shown to users who have permissions to edit the configuration of the project. I believe as they are doc references, they should be available to read users of the project.

            https://issues.jenkins-ci.org/browse/JENKINS-36047

            Show
            gregcovertsmith Greg Smith added a comment - Thanks guys - I was able to find the new link. I did open a new related bug to this one, as the links are only shown to users who have permissions to edit the configuration of the project. I believe as they are doc references, they should be available to read users of the project. https://issues.jenkins-ci.org/browse/JENKINS-36047
            Hide
            squalou squalou jenkins added a comment - - edited

            Greg Smith : other path to access it, from a 'pipeline job', there's a new item on the 'menu' on the top left (under new item, people,build history etc.) called 'Pipeline Syntax'.

            Show
            squalou squalou jenkins added a comment - - edited Greg Smith : other path to access it, from a 'pipeline job', there's a new item on the 'menu' on the top left (under new item, people,build history etc.) called 'Pipeline Syntax'.
            Hide
            mkobit Mike Kobit added a comment -

            Greg Smith It looks like you go to `/pipeline-syntax` - that is the only place I found it. `http://jenkins/job/job-name/pipeline-syntax`

            Show
            mkobit Mike Kobit added a comment - Greg Smith It looks like you go to `/pipeline-syntax` - that is the only place I found it. ` http://jenkins/job/job-name/pipeline-syntax `
            Hide
            gregcovertsmith Greg Smith added a comment -

            Could someone associated with this bug give the new url path to get to the snippet generator? Or path through the front page UI to get there?

            With this change in, I can't seem to find the snippet generator anywhere – now that its been removed from the new job page, should it be somewhere else now?

            Show
            gregcovertsmith Greg Smith added a comment - Could someone associated with this bug give the new url path to get to the snippet generator? Or path through the front page UI to get there? With this change in, I can't seem to find the snippet generator anywhere – now that its been removed from the new job page, should it be somewhere else now?
            Hide
            perilousapricot Andrew Melo added a comment -

            I hit the same issue as squalou jenkins. It's nice to have the snippet generator outside of a configuration page, but having it next to the actual configuration box was much more convenient to use. Is there any reason it can't be at both locations?

            Show
            perilousapricot Andrew Melo added a comment - I hit the same issue as squalou jenkins . It's nice to have the snippet generator outside of a configuration page, but having it next to the actual configuration box was much more convenient to use. Is there any reason it can't be at both locations?

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                kzantow Keith Zantow
              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: