I (being biased) would think a better approach is to use the organization
folder approach of pipeline multibranch.

If you want to see how this works, I did a video series on enabling this
for the Apache Maven project... end result:

https://builds.apache.org/view/M-R/view/Maven/job/maven-box/

Every git repo has a standard build, but can opt out and get a custom one
if necessary.

Jobs are created and removed as the git repos are created and removed (in
this case the job creation is under 100ms after the git push enabling the
job)

Episodes 4 and 5 are the ones where I show the Jenkinsfile tricks:
https://www.cloudbees.com/blog/watch-me-code-episode-4
https://www.cloudbees.com/blog/watch-me-code-episode-5

The other episodes concentrate on writing the plugin to integrate with the
Apache specific git hosting solution.

You can find out more in the retrospective:
https://www.cloudbees.com/blog/watch-me-code-episode-12

And I give an overview of the original plan in episode 1:
https://www.cloudbees.com/blog/watch-me-code-episode-1

On 12 December 2017 at 13:13, Jes Struck <[email protected]> wrote:

> Hi all,
>
>
> I'm looking for a good solution to do job configuration during Jenkins
> startup, I have looked around for a good solution, but I can't seem to find
> one.
> From what i found my current options is hacking in groovy or using Jenkins
> Job Build (JJB), but what I'm expecting, is a Jenkins function that had
> implemented the JJB functionality.
>
> So my question to you guys is, have anybody seen such a solution, or could
> guide me in the direction, that looked like this?
> Secondary, if nobody can guide me, does this not seem like a new plugin?
>
> Kind regards
> Jes Struck
> Senior DevOps Consultant
>
> --
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/CACfmdz2YXFGkwuU00EScsiGZ7Pm2Q
> NkXuEQkG%2BozoxbBQREJqQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CACfmdz2YXFGkwuU00EScsiGZ7Pm2QNkXuEQkG%2BozoxbBQREJqQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMzmeZU_fPbAWWZZdD8ZBysKDaL-a61vKMSsW92_HuQGdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to