Do not delete the workspace after the build. It seems to me that git plugin stores some information into the workspace or at least needs it to infer some information.
I used to have Delete workspace plugin configured to remove all workspace files (because my build slaves have SSD and are space constrained). Jenkins was always rebuilding branches that it had already built and had no changes. -- Sami fREW Schmidt <fri...@gmail.com> kirjoitti 17.4.2012 kello 6.07: > So I have jenkins set up to poll my scm (git) every minute for changes and > successfully making builds. For some reason though it does another build > even if nothing changes in the repo though; how can I make jenkins not > rebuild already successfully built... builds?