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

Easter egg for export/import Jenkinsfile via text box

    Details

    • Similar Issues:
    • Sprint:
      1.0

      Description

      Whilst we don't have a design yet for this, could there be a way to get to the editor to: 

       

       

      • Show the Jenkinsfile so you can copy it as text when opened from a branch
      • Show the copy/paste old expeirence from a known URL with no SCM integration
      • Show editable text area when opened from a branch via some url

       

      The last one is to aid contributors/debuggers if there are problems with round trip to declarative, first one is for if github is shitting the bed. 

      Middle one is just to keep it around as it can be a handy thing that evolved in playground 

       

      Out of scope: 

       

      • Anything visible that doesn't yet have a design. These are all hidden things to aid supportability. 

        Attachments

          Activity

          Hide
          michaelneale Michael Neale added a comment -

          we discussed and concluded if this is strictly an easter egg, can be done any time. If it requires some icon/link that is visible, we need more design work. 

          Show
          michaelneale Michael Neale added a comment - we discussed and concluded if this is strictly an easter egg, can be done any time. If it requires some icon/link that is visible, we need more design work. 
          Hide
          kzantow Keith Zantow added a comment -

          Just press ctrl/cmd + s now to get the load/save dialog

          Show
          kzantow Keith Zantow added a comment - Just press ctrl/cmd + s now to get the load/save dialog
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Keith Zantow
          Path:
          pom.xml
          src/main/js/EditorPage.jsx
          src/main/js/EditorRoutes.jsx
          src/main/js/PipelineEditorLink.jsx
          src/main/js/components/editor/CopyPastePipelineDialog.jsx
          src/main/js/components/editor/EditorPage.jsx
          src/main/js/services/PipelineSyntaxConverter.js
          src/main/js/services/Security.js
          src/main/less/editor.less
          http://jenkins-ci.org/commit/blueocean-pipeline-editor-plugin/43c191341e3836e741425085d76784d08e34b327
          Log:
          Fix some misc. issues discovered in rc1 (#33)

          • JENKINS-42788 - hide editor links when no create permission
          • JENKINS-42790 - don't show the toast for a new pipeline
          • JENKINS-42647 - don't show Github JSON blob
          • JENKINS-42735 - encoding issue with branch names when save/run
          • JENKINS-42649 - ctrl/cmd + s to open the load/save dialog
          • Route tweaks to get to pipeline editor
          • Bump blueocean version to 1.0.0-rc1
          • JENKINS-42789 - error copy tweaks
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Keith Zantow Path: pom.xml src/main/js/EditorPage.jsx src/main/js/EditorRoutes.jsx src/main/js/PipelineEditorLink.jsx src/main/js/components/editor/CopyPastePipelineDialog.jsx src/main/js/components/editor/EditorPage.jsx src/main/js/services/PipelineSyntaxConverter.js src/main/js/services/Security.js src/main/less/editor.less http://jenkins-ci.org/commit/blueocean-pipeline-editor-plugin/43c191341e3836e741425085d76784d08e34b327 Log: Fix some misc. issues discovered in rc1 (#33) JENKINS-42788 - hide editor links when no create permission JENKINS-42790 - don't show the toast for a new pipeline JENKINS-42647 - don't show Github JSON blob JENKINS-42735 - encoding issue with branch names when save/run JENKINS-42649 - ctrl/cmd + s to open the load/save dialog Route tweaks to get to pipeline editor Bump blueocean version to 1.0.0-rc1 JENKINS-42789 - error copy tweaks

            People

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

              Dates

              • Created:
                Updated:
                Resolved: