Details
-
Story
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
-
christmas
Description
Following on from: https://issues.jenkins-ci.org/browse/JENKINS-38590
When there is a step of unknown type, its json object can be rendered by the pipeline-model plugin as the Jenkinsfile form (a line of text), this can then be shown in a text box and editable (when an edit is made, it can be transformed back to the json object form by the pipeline model plugin).
In scope:
- Display text box in case of unsupported step type
- Conversion of step object to text
- Displaying of editable text
- Conversion of text to object
- Works with block scoped steps as well as simple steps
Some more details, using an example:
"steps": [ { "name": "node", "arguments": { "isConstant": true, "value": "some-label" }, "children": [ { "name": "sh", "arguments": { "isConstant": true, "value": "echo ONSLAVE=$ONSLAVE" } }] }]
In this case, it is the "node" step (say we don't have a form based editor for it). In that case the entire object that is the "node" step from that step listing can be converted to textual form and displayed in a box (and then back).
This is a good catch all for unsupported steps.
Attachments
Issue Links
- is related to
-
JENKINS-38590 Unsupported steps are represented in the Editor
-
- Resolved
-
- relates to
-
JENKINS-38590 Unsupported steps are represented in the Editor
-
- Resolved
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link | JENKINS-36291 [ 172300 ] |
Link |
This issue relates to |
Assignee | Keith Zantow [ kzantow ] |
Sprint | release candidate [ 171 ] |
Rank | Ranked higher |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Remote Link | This issue links to "Part of PR 12 (Web Link)" [ 15191 ] |
Sprint | release candidate [ 171 ] | christmas [ 176 ] |
Rank | Ranked lower |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Link |
This issue is related to |