Skip to content

Commit

Permalink
[FIXED JENKINS-9339] Improved error message when no revision is found…
Browse files Browse the repository at this point in the history
… to build.
  • Loading branch information
abayer committed Apr 13, 2011
1 parent d56d453 commit 03372c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/git/GitSCM.java
Expand Up @@ -930,7 +930,7 @@ public Revision invoke(File localWorkspace, VirtualChannel channel)
if(revToBuild == null) {
// getBuildCandidates should make the last item the last build, so a re-build
// will build the last built thing.
listener.error("Nothing to do");
listener.error("Couldn't find any revision to build. Verify the repository and branch configuration for this job.");
return false;
}
listener.getLogger().println("Commencing build of " + revToBuild);
Expand Down

0 comments on commit 03372c0

Please sign in to comment.