JOB DSL and Github Organisation

25 views
Skip to first unread message

Eddard

unread,
Nov 30, 2016, 1:45:48 PM11/30/16
to Jenkins Users
I would like to automate the creation of Github Organisation that regroups a number of repositories for different teams in my company.  I would like to use job-dsl-plugin to do that, so the question is does the job-dsl-plugin support github organisation?

regards

Victor Martinez

unread,
Nov 30, 2016, 5:50:29 PM11/30/16
to Jenkins Users
Hi there,

Pipeline is fully supported by JobDSL (https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.DslFactory.pipelineJob) and also Multi Branch Pipeline Job https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.DslFactory.multibranchPipelineJob  but GitHub Organizsation itself is not supported at the moment, as far as I know, although you can create it with the configure closure https://github.com/jenkinsci/job-dsl-plugin/wiki/The-Configure-Block

You can also use the below mailing list:

Maybe someone else already got some working snippets

Cheers

Omeka

unread,
Dec 21, 2016, 1:50:31 PM12/21/16
to Jenkins Users
Thank you for the hint, it worked
Reply all
Reply to author
Forward
0 new messages