On Monday, August 31, 2015 at 10:27:11 AM UTC-7, Khai Do wrote: > > Yes, your general assessment is correct. You can, but do NOT necessarily > need to use the jenkins DSL plugin to generate jobs since JJB has it's own > DSL. Not sure if 'out-of-band' mean separate executable, separate jenkins > job definitions, or in repo vs out of repo. JJB does have an executable > that you run and it does read it's own yaml based definition files. The > JJB definition files will generate the actual jenkins xml files that define > the jenkins job and deploy those to the jenkins master. JJB provides a > path[1] option so the yml definitions can live anywhere, in your project's > repo or out of it. I think the quick start guide[2] provides some good > example of how all this works. >
By out of band, I meant it is not related to the jenkins.yml configuration file in a project repo. A push to a project repository that triggers a job does not trigger JJB. However, if JJB can reference the project repos, then a project repo push could trigger JJB and create/delete jenkins jobs. Is this, in fact, what you have - jenkins.yml to configure the job DSL of the project job itself and another JJB yaml file to create/delete jobs? Another thing that plagues my use of JJB is the fact that Security credentials, like those uses in the git scm configuration, must be hardcoded the Credential ID string. This string is unique to each Jenkins master instance though which means jobs with these strings must be uniquely defined per instance. Do you use Credentials in your JJB definition files? If so, how do you manage the hardcoded strings? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ad57306c-df4d-4294-836e-a9040d07ec0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.