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

Load and save Jenkinsfile to Github

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • blueocean-plugin
    • None
    • 1.0

      Entry points
      Clicking the edit link on these places launches the Editor against that branch

      • Existing functionality that lets you copy and paste the Jenkinsfile should be preserved as the "degrated" experience.

      Saving

      We present a dialog that allows users to:

      • Specify a commit message
      • Specify a commit description
      • Radio list
        • Commit to $CURRENT_BRANCH
        • Commit to new branch
          • Text box: branch name - only show this text input if "commit to new branch" radio is selected
      • Buttons
        • Save - commits the Jenkinsfile and triggers a rescan
        • Cancel - exists this dialog and returns to the editor

      Design:

      Resolving scopes
      When saving we may have to ask for a "upgrade" to the stored Github token or provide one if the user does not have one set (credentials are stored per user). Writing to the repository also requires different scopes than what we may have setup during creation. I'd imagine this looks very similar to the creation way of doing it (asking for a Key)

            kzantow Keith Zantow
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: