adding cloudbees support to the gradle build file