Use shallow-clone to improve CI builds speed

We need only the very latest revision on Jenkins, since we build always HEAD (even if on different branches)