简体   繁体   中英

How to access Groovy file from Jenkins Seed Job using DSL

Create Jenkins Seed Job using DSL Plugin - Where i can pass Git Repo location to create the Jenkins jobs for the repo. The Job is created programmatically in the repo. Seed Job should read the groovy file in the repo and create the new job.

You can :

  • Checkout Groovy file from Seed Job
  • Access file programmatically from code of Seed Job (some SCM tools provide API, ie. Bitbucket, github)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM