Skip to content
Browse files
[FIXED JENKINS-9339] Improved error message when no revision is found…
… to build.
  • Loading branch information
abayer committed Apr 13, 2011
1 parent d56d453 commit 03372c0a86fd35835420a0818915a2b1e0fcecc0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/git/
@@ -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);

0 comments on commit 03372c0

Please sign in to comment.