Use shallow-clone to improve CI builds speed

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