Hi

I'm using Git Sparse Checkout (through the jenkins git plugin) to allow me
to checkout only 1 directory from a git repo.

I am also using /git/notifyCommit to notify Jenkins of git changes and
allow automatic rebuilds when they occur.

My problem is that I have repo1:

repo1
.
..
dir_a/
dir_b/

And jenkins project a building only dir_a, project b building only dir_b
(thought sparse checkout).

But If I make changes to dir_b, and send a notifyCommit to jenkins my Git
Polling Log for project a says "Changes found" and project a is rebuilt
(even though none of the files have changed).

Is there a way to force the git "has it changed" mechanism to consider the
git sparse checkout option?

Thanks
-- 
Andy Smith
http://andrewmichaelsmith.com | @bingleybeep

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CALfgT%3DoP3t%3DATCFaq9tAQb64tpw6MnAYQp3gnp08nBOEeE4b5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to