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

"Nothing to do" could suggest fixes

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • git-plugin
    • 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

      Attachments

        Issue Links

          Activity

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

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

            People

              abayer Andrew Bayer
              lewisham Lewisham
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: