I will check out the Job DSL Documentation and try my luck to write the configuration my self. I had hope this XML Job to Job DSL would help me save some time.
multibranchPipelineJob("my_awesome_job") { .... } tirsdag 23. mars 2021 kl. 11:11:30 UTC+1 skrev Sverre Moe: > Shame. I like Configuration by Code. We use mainly only Multibranch > Pipeline. > It is the one of the major things I think Jenkins is lacking. It has > Configuration by Code for Jenkins Configuration, but limited for Job > Configuration, supported by this plugin. > > mandag 22. mars 2021 kl. 22:29:26 UTC+1 skrev kuisat...@gmail.com: > >> I have tested that plugin a couple of months ago, it works for simple >> jobs (freestyle, pipelines, ...) but I did not find a way to make it work >> with multibranch pipelines. Also, the support of JobDSL for multibranch >> pipelines is limited after 1.74, it is not possible to use configure blocks >> to configure the pull request discovery (see >> https://issues.jenkins.io/browse/JENKINS-63788) >> >> El lunes, 22 de marzo de 2021 a las 10:29:37 UTC+1, sverr...@gmail.com >> escribió: >> >>> I have tried out the XML Job to DSL Job Plugin. >>> >>> It lists all single Pipeline jobs under a Multibranch Pipeline job. >>> It does not seem to be able to export the Multibranch Pipeline Job. >>> >>> The DSL Job Plugin does seem to support Multibranch Pipeline jobs. >>> >>> There is no open issues to suggest this is a bug, or missing feature. >>> >>> https://issues.jenkins.io/issues/?jql=project%20=%20JENKINS%20AND%20component%20=%20xml-job-to-job-dsl-plugin >>> >> -- 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/0968533d-021b-45a4-ade0-dfd4c3081faan%40googlegroups.com.