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

Handle error case when the user cannot edit the Jenkinsfile

    Details

    • Similar Issues:
    • Sprint:
      1.0, Blue Ocean 1.0-rc3

      Description

      Copy
      "Jenkins can only edit Jenkinsfiles that use the Declarative Pipeline syntax – Learn more"

      Design brief

      • When entering the editor the Jenkinsfile may not be a declarative syntax but a scripted one. In this case the editor cannot be used to edit.
      • We'd like to use this as an opportunity to educate people on why their jenkinsfile could not be edited and that switching to declarative will give them super powers.

        Attachments

          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
          jamesdumay James Dumay made changes -
          Priority Minor [ 4 ] Critical [ 2 ]
          jamesdumay James Dumay made changes -
          Rank Ranked higher
          jamesdumay James Dumay made changes -
          Rank Ranked higher
          brody Brody Maclean made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          brody Brody Maclean made changes -
          Attachment screenshot-1.png [ 36109 ]
          brody Brody Maclean made changes -
          Attachment screenshot-2.png [ 36110 ]
          Hide
          brody Brody Maclean added a comment -

          Button disabled. On Hover, `cursor: not-allowed` & tooltip appears.

          Pipeline Views
          https://invis.io/Q2A110KM9#/218891868_Pipeline-Branches
          https://zpl.io/ZtGMt8

          Pipeline Results
          https://invis.io/Q2A110KM9#/218685699_Failed_Tests_1200px
          https://zpl.io/Z4q3x2

          Show
          brody Brody Maclean added a comment - Button disabled. On Hover, `cursor: not-allowed` & tooltip appears. Pipeline Views https://invis.io/Q2A110KM9#/218891868_Pipeline-Branches https://zpl.io/ZtGMt8 Pipeline Results https://invis.io/Q2A110KM9#/218685699_Failed_Tests_1200px https://zpl.io/Z4q3x2
          brody Brody Maclean made changes -
          Assignee Brody Maclean [ brody ] James Dumay [ jamesdumay ]
          Hide
          jamesdumay James Dumay added a comment -

          Will need to update the copy for this

          Show
          jamesdumay James Dumay added a comment - Will need to update the copy for this
          jamesdumay James Dumay made changes -
          Assignee James Dumay [ jamesdumay ] Keith Zantow [ kzantow ]
          jamesdumay James Dumay made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          jamesdumay James Dumay made changes -
          Description *Design brief*
          * When entering the editor the Jenkinsfile may not be a declarative syntax but a scripted one. In this case the editor cannot be used to edit.
          * We'd like to use this as an opportunity to educate people on why their jenkinsfile could not be edited and that switching to declarative will give them super powers.
          Copy: "Pipeline Editor is only able to edit Jenkinsfiles that use the Declarative Pipeline syntax – Learn more"

          *Design brief*
          * When entering the editor the Jenkinsfile may not be a declarative syntax but a scripted one. In this case the editor cannot be used to edit.
          * We'd like to use this as an opportunity to educate people on why their jenkinsfile could not be edited and that switching to declarative will give them super powers.
          jamesdumay James Dumay made changes -
          Description Copy: "Pipeline Editor is only able to edit Jenkinsfiles that use the Declarative Pipeline syntax – Learn more"

          *Design brief*
          * When entering the editor the Jenkinsfile may not be a declarative syntax but a scripted one. In this case the editor cannot be used to edit.
          * We'd like to use this as an opportunity to educate people on why their jenkinsfile could not be edited and that switching to declarative will give them super powers.
          Copy: "Jenkins can only edit Jenkinsfiles that use the Declarative Pipeline syntax – Learn more"

          *Design brief*
          * When entering the editor the Jenkinsfile may not be a declarative syntax but a scripted one. In this case the editor cannot be used to edit.
          * We'd like to use this as an opportunity to educate people on why their jenkinsfile could not be edited and that switching to declarative will give them super powers.
          jamesdumay James Dumay made changes -
          Description Copy: "Jenkins can only edit Jenkinsfiles that use the Declarative Pipeline syntax – Learn more"

          *Design brief*
          * When entering the editor the Jenkinsfile may not be a declarative syntax but a scripted one. In this case the editor cannot be used to edit.
          * We'd like to use this as an opportunity to educate people on why their jenkinsfile could not be edited and that switching to declarative will give them super powers.
          *Copy*
          "Jenkins can only edit Jenkinsfiles that use the Declarative Pipeline syntax – Learn more"

          *Design brief*
          * When entering the editor the Jenkinsfile may not be a declarative syntax but a scripted one. In this case the editor cannot be used to edit.
          * We'd like to use this as an opportunity to educate people on why their jenkinsfile could not be edited and that switching to declarative will give them super powers.
          jamesdumay James Dumay made changes -
          Rank Ranked higher
          jamesdumay James Dumay made changes -
          Sprint 1.0 [ 221 ] 1.0, 1.0-rc1 [ 221, 261 ]
          michaelneale Michael Neale made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: