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

        1. screenshot-1.png
          14 kB
          Brody Maclean
        2. screenshot-2.png
          17 kB
          Brody Maclean

          Activity

          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
          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

            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: