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

Sections in the pipeline model that the editor does not understand should be preserved between loading and saving

    Details

    • Similar Issues:
    • Sprint:
      christmas

      Description

      In scope:

      • handle possibly added unknown sections by keeping in place between both from JSON and to JSON carry over
      • Loading a Jenkinsfile should not result in unsupported sections being removed

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Keith Zantow
            Path:
            src/main/js/components/editor/EditorMain.jsx
            src/main/js/components/editor/EditorStepDetails.jsx
            src/main/js/components/editor/steps/UnknownStepEditor.jsx
            src/main/js/services/PipelineStore.js
            src/main/js/services/PipelineSyntaxConverter.js
            src/test/js/services/PipelineSyntaxConverter-spec.js
            http://jenkins-ci.org/commit/blueocean-pipeline-editor-plugin/a0b8793d1a060b8755581021e819f2616474620e
            Log:
            [FIX JENKINS-40242] preserve unknown sections (#12)

            • Import/export handles unknown sections and steps
            • Handle unknown steps using a pipeline script editor
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Keith Zantow Path: src/main/js/components/editor/EditorMain.jsx src/main/js/components/editor/EditorStepDetails.jsx src/main/js/components/editor/steps/UnknownStepEditor.jsx src/main/js/services/PipelineStore.js src/main/js/services/PipelineSyntaxConverter.js src/test/js/services/PipelineSyntaxConverter-spec.js http://jenkins-ci.org/commit/blueocean-pipeline-editor-plugin/a0b8793d1a060b8755581021e819f2616474620e Log: [FIX JENKINS-40242] preserve unknown sections (#12) Import/export handles unknown sections and steps Handle unknown steps using a pipeline script editor

              People

              • Assignee:
                kzantow Keith Zantow
                Reporter:
                michaelneale Michael Neale
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: