XML Job to DSL Job Plugin for Multibranch Pipeline

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

XML Job to DSL Job Plugin for Multibranch Pipeline

Sverre Moe-2
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.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b6371d70-3568-450c-8547-c88dcfc5e871n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: XML Job to DSL Job Plugin for Multibranch Pipeline

Ivan Fernandez Calvo
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, [hidden email] 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.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5c28a42f-80b6-433f-85b8-a657b9661016n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: XML Job to DSL Job Plugin for Multibranch Pipeline

Sverre Moe-2
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 [hidden email]:
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, [hidden email] 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.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/dd6790ef-adf1-4f71-8288-566fcd92415en%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: XML Job to DSL Job Plugin for Multibranch Pipeline

Sverre Moe-2
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 [hidden email]:
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, [hidden email] 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.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0968533d-021b-45a4-ade0-dfd4c3081faan%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: XML Job to DSL Job Plugin for Multibranch Pipeline

Ivan Fernandez Calvo
I have an example of Multibranch pipeline job with jobDSL https://github.com/elastic/apm-pipeline-library/blob/master/.ci/jobDSL/jobs/apm-ci/apm-shared/oblt-test-env/test_mbp.groovy it could help you to save some time.

El mar, 23 mar 2021 a las 11:15, Sverre Moe (<[hidden email]>) escribió:
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 [hidden email]:
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, [hidden email] 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.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/jRooaUNdcSI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0968533d-021b-45a4-ade0-dfd4c3081faan%40googlegroups.com.


--

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAKo5QroG%2BfxeeRC32u5PnhLJeK7zOSt4N1hnTaF2ZpKPGPZLXA%40mail.gmail.com.