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

User can add and edit a block scoped step

    Details

    • Similar Issues:
    • Sprint:
      tasman, frank

      Description

      In scope

      • User can add a block scoped step to the main step list
      • User can click on a block scoped step and edit its attributes
      • Should look like the screenshot below

      A block scoped step has some attributes separate from its children.

      Similar to https://issues.jenkins-ci.org/browse/JENKINS-38585 - this is easier to explain with an example of the model/json:

      "steps": [      {
              "name": "timeout",
              "arguments":         [
                          {
                  "key": "time",
                  "value":             {
                    "isConstant": true,
                    "value": 5
                  }
                },
                          {
                  "key": "unit",
                  "value":             {
                    "isConstant": true,
                    "value": "SECONDS"
                  }
                }
              ],
              "children": [        {
                "name": "echo",
                "arguments":           {
                  "isConstant": true,
                  "value": "hello"
                }
              }]
            }]
          }]
        }]
      

      (from https://github.com/jenkinsci/pipeline-model-definition-plugin/blob/master/src/test/resources/json/validStepParameters.json)

      You can see that the step name is timeout - which has arguments and children (children are other steps). The number and type of arguments are dependent on the step (timeout and retry are the most common ones that we want to support)

        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
            michaelneale Michael Neale made changes -
            Summary User can add a block scoped step User can add and edit a block scoped step
            michaelneale Michael Neale made changes -
            Description *In scope*
            * User can add a block scoped step to the main step list
            * Should look like the screenshot below

             !Pipeline config - block scope.png|thumbnail!
            *In scope*
            * User can add a block scoped step to the main step list
            * User can click on a block scoped step and edit its attributes
            * Should look like the screenshot below

             !Pipeline config - block scope.png|thumbnail!
            michaelneale Michael Neale made changes -
            Description *In scope*
            * User can add a block scoped step to the main step list
            * User can click on a block scoped step and edit its attributes
            * Should look like the screenshot below

             !Pipeline config - block scope.png|thumbnail!
            *In scope*
            * User can add a block scoped step to the main step list
            * User can click on a block scoped step and edit its attributes
            * Should look like the screenshot below

             !Pipeline config - block scope.png|thumbnail!

            A block scoped step has some attributes separate from its children.

            Similar to https://issues.jenkins-ci.org/browse/JENKINS-38585 - this is easier to explain with an example of the model/json:

            {noformat}
            "steps": [ {
                    "name": "timeout",
                    "arguments": [
                                {
                        "key": "time",
                        "value": {
                          "isConstant": true,
                          "value": 5
                        }
                      },
                                {
                        "key": "unit",
                        "value": {
                          "isConstant": true,
                          "value": "SECONDS"
                        }
                      }
                    ],
                    "children": [ {
                      "name": "echo",
                      "arguments": {
                        "isConstant": true,
                        "value": "hello"
                      }
                    }]
                  }]
                }]
              }]
            {noformat}

            (from https://github.com/jenkinsci/pipeline-model-definition-plugin/blob/master/src/test/resources/json/validStepParameters.json)

            You can see that the step name is timeout - which has arguments and children (children are other steps). The number and type of arguments are dependent on the step (timeout and retry are the most common ones that we want to support)
            michaelneale Michael Neale made changes -
            Link This issue is blocked by JENKINS-38585 [ JENKINS-38585 ]
            jamesdumay James Dumay made changes -
            Sprint tasman [ 136 ]
            jamesdumay James Dumay made changes -
            Rank Ranked lower
            jamesdumay James Dumay made changes -
            Sprint tasman [ 136 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            kzantow Keith Zantow made changes -
            Assignee Keith Zantow [ kzantow ]
            michaelneale Michael Neale made changes -
            Sprint tasman [ 136 ]
            michaelneale Michael Neale made changes -
            Rank Ranked higher
            michaelneale Michael Neale made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jamesdumay James Dumay made changes -
            Sprint tasman [ 136 ] tasman, frank [ 136, 156 ]
            kzantow Keith Zantow made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: