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

"Nothing to do" could suggest fixes

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None

      Description

      When the Git plugin fails, it gives the error "Nothing to do." This doesn't help diagnose the problem so much, particularly if it's something trivial that the user did (like put in an incorrect branch).

      The error message could help users for the most trivial cases, like "Couldn't find anything to download from the Git repository. Did you get the URL or branch name right?" Obviously, this would be changed to list the cases where "Nothing to do" might be thrown

        Issue Links

          Activity

          lewisham Lewisham created issue -
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Andrew Bayer
          Path:
          src/main/java/hudson/plugins/git/GitSCM.java
          http://jenkins-ci.org/commit/git-plugin/03372c0a86fd35835420a0818915a2b1e0fcecc0
          Log:
          [FIXED JENKINS-9339] Improved error message when no revision is found to build.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: src/main/java/hudson/plugins/git/GitSCM.java http://jenkins-ci.org/commit/git-plugin/03372c0a86fd35835420a0818915a2b1e0fcecc0 Log: [FIXED JENKINS-9339] Improved error message when no revision is found to build.
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_git-plugin #115
          [FIXED JENKINS-9339] Improved error message when no revision is found to build.

          Andrew Bayer : 03372c0a86fd35835420a0818915a2b1e0fcecc0
          Files :

          • src/main/java/hudson/plugins/git/GitSCM.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_git-plugin #115 [FIXED JENKINS-9339] Improved error message when no revision is found to build. Andrew Bayer : 03372c0a86fd35835420a0818915a2b1e0fcecc0 Files : src/main/java/hudson/plugins/git/GitSCM.java
          abayer abayer made changes -
          Link This issue is duplicated by JENKINS-8974 [ JENKINS-8974 ]
          abayer abayer made changes -
          Link This issue is duplicated by JENKINS-8696 [ JENKINS-8696 ]

            People

            • Assignee:
              abayer abayer
              Reporter:
              lewisham Lewisham
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: