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

REST API for fetching available steps

    Details

    • Similar Issues:
    • Sprint:
      atlantic, indian, arctic, tasman, frank

      Description

      • Endpoint must be organization scoped
        • e.g. /organizations/jenkins/editor/steps
      • Returns a the list of available steps and the information needed to create a form for each step
      • We should whitelist these steps:
        • script
        • bat
        • echo
        • build
        • Timeout (block scoped)
        • Retry (block scoped)
        • archive
        • junit
        • git
        • sleep
        • stash
        • unstash

        Attachments

          Issue Links

            Activity

            jamesdumay James Dumay created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Epic Link JENKINS-36291 [ 172300 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Sprint atlantic [ 106 ]
            jamesdumay James Dumay made changes -
            Rank Ranked lower
            jamesdumay James Dumay made changes -
            Assignee Keith Zantow [ kzantow ]
            michaelneale Michael Neale made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Sprint atlantic [ 106 ] atlantic, indian [ 106, 126 ]
            michaelneale Michael Neale made changes -
            Sprint atlantic, indian [ 106, 126 ] atlantic [ 106 ]
            michaelneale Michael Neale made changes -
            Sprint atlantic [ 106 ] atlantic, arctic [ 106, 131 ]
            michaelneale Michael Neale made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Sprint atlantic, arctic [ 106, 131 ] atlantic, indian [ 106, 126 ]
            jamesdumay James Dumay made changes -
            Rank Ranked lower
            jamesdumay James Dumay made changes -
            Link This issue blocks JENKINS-38585 [ JENKINS-38585 ]
            jamesdumay James Dumay made changes -
            Sprint atlantic, indian [ 106, 126 ] atlantic, indian, arctic [ 106, 126, 131 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            kzantow Keith Zantow made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            kzantow Keith Zantow added a comment -

            I did not add the whitelist in the API at this point, my plan is to add that at the UI level by only implementing specific step editor extensions

            Show
            kzantow Keith Zantow added a comment - I did not add the whitelist in the API at this point, my plan is to add that at the UI level by only implementing specific step editor extensions
            kzantow Keith Zantow made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jamesdumay James Dumay made changes -
            Sprint atlantic, indian, arctic [ 106, 126, 131 ] atlantic, indian, arctic, tasman [ 106, 126, 131, 136 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: kzantow
            Path:
            .gitignore
            pom.xml
            src/main/java/io/blueocean/rest/pipeline/editor/PipelineStepMetadata.java
            src/main/java/io/blueocean/rest/pipeline/editor/PipelineStepMetadataService.java
            src/main/java/io/blueocean/rest/pipeline/editor/PipelineStepPropertyDecorator.java
            src/main/java/io/blueocean/rest/pipeline/editor/PipelineStepPropertyMetadata.java
            http://jenkins-ci.org/commit/blueocean-pipeline-editor-plugin/54f11f79dcf115dd33962f226cfaa0df80a8bb07
            Log:
            JENKINS-38584 - rest API for returning available steps, not whitelisted

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: kzantow Path: .gitignore pom.xml src/main/java/io/blueocean/rest/pipeline/editor/PipelineStepMetadata.java src/main/java/io/blueocean/rest/pipeline/editor/PipelineStepMetadataService.java src/main/java/io/blueocean/rest/pipeline/editor/PipelineStepPropertyDecorator.java src/main/java/io/blueocean/rest/pipeline/editor/PipelineStepPropertyMetadata.java http://jenkins-ci.org/commit/blueocean-pipeline-editor-plugin/54f11f79dcf115dd33962f226cfaa0df80a8bb07 Log: JENKINS-38584 - rest API for returning available steps, not whitelisted
            jamesdumay James Dumay made changes -
            Sprint atlantic, indian, arctic, tasman [ 106, 126, 131, 136 ] atlantic, indian, arctic, tasman, frank [ 106, 126, 131, 136, 156 ]
            kzantow Keith Zantow made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                kzantow Keith Zantow
                Reporter:
                jamesdumay James Dumay
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: