adding some stuff to make it work with cloudbees