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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • pipeline

    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

            perilousapricot Andrew Melo added a comment -

            I hit the same issue as squalou. 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?

            perilousapricot Andrew Melo added a comment - I hit the same issue as squalou . 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?
            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?

            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?
            mkobit Mike Kobit added a comment -

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

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

            gregcovertsmith : 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'.

            squalou squalou jenkins added a comment - - edited gregcovertsmith : 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'.
            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

            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

            People

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

              Dates

                Created:
                Updated:
                Resolved: