Groovy web console

subscribe to the feed Subscribe
to this
site

bug

Published 2 months ago by Yiyi Wang
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def ciJob(String name, String org, String repo, branches = 'master develop release deploy', boolean pr_job = true, jenkinsfile = 'Jenkinsfile', git_cache = true) {
  println("name: ${name}")
  println("org: ${org}")
  println("repo: ${repo}")
  println("branches: ${branches}")
  println("pr_job: ${pr_job}")
  println("jenkinsfile: ${jenkinsfile}")
  println("git_cache: ${git_cache}")
}


ciJob( 'Web - Common'     , 'runtimeverification' , 'web-common', git_cache = false )