User can add and edit a block scoped step

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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)

            Assignee:
            Keith Zantow
            Reporter:
            James Dumay
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: