Hi, I'm trying to setup github job creation dsl for the context organizationFolder so that any of my github projects that has a Jenkinsfile can automatically get a build job.
I'm looking for examples on the latest for how to do this with the 1.65 plugin.
I'm hoping someone can share how to do this with the github {} context inside organizations {}.
In particular, I'm looking for a way to configure the additional behaviors under github called:
- Discover branches
- Discover pull requests from forks & trust
- Discover pull requests from origin
- Filter by name (with regular expression)
I've tried a few permutations with fromSources{} and traits{} however, this only seems to configure single known repos, and I'm looking for something a little more dynamic.
Any help would be appreciated.
Thanks!