had WEB-INF/lib on gitignore, but jenkins needs it. ignoring all jar files in WEB-inf/lib instead.