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

REST API for fetching available steps

    XMLWordPrintable

    Details

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

      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

            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
            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

              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: