Script to build with different versions of Jenkins