traits stopped working in 2.6.0 for job-dsl
See original GitHub issue- Jenkins version: 2.190.2
- Plugin version: 2.6.0
- Bitbucket server: 5.16.0
I used to be able to configure this via the job-dsl plugin:
organizationFolder('foo') {
displayName('Foobar')
organizations {
bitbucket {
serverUrl('https://stash.foobar.com')
repoOwner('foo')
credentialsId('stash-token')
traits {
sourceWildcardFilter {
includes('sample-project')
excludes('')
}
}
}
}
this is not working anymore since version 2.6.0:
Downgrading to 2.5.0 fixes the issue and brings back traits:
Jira ticket: https://issues.jenkins-ci.org/browse/JENKINS-60155
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
githubTagDiscovery trait still not configurable via job-dsl
githubTagDiscovery trait still not configurable via job-dsl ... Resolution: Not A Defect ... job-dsl 1.77 github-branch-source-plugin 2.6.0.
Read more >Unable to configure Fork Change Request Trait using Job DSL
But the script will fail. The problem is caused by the "trust" constructor parameter of ForkMergeRequestDiscoveryTrait. Job DSL uses the Structs plugin for ......
Read more >Job DSL and organizationFolder with Github : r/jenkinsci
My problem is, I am using Github Organization, no jenkins.branch.BranchSource . I don't know how can I add a ForkPullRequestDiscoveryTrait to my ...
Read more >JUC Europe 2015 - Configuration as Code: The Job DSL Plugin
Chapters. View all ; Daniel Spilker · 0:33 ; Problem · 2:07 ; Configuration As Code · 2:45 ; There Is A Plugin...
Read more >Jenkins Artifactory Plug-in - JFrog
JFrog CLI already includes significantly more features than the Jenkins Artifactory Plugin. ... The new plugin also does not support UI based Jenkins...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/jenkinsci/structs-plugin/pull/52 this is the blocker, I can convert some of the changes but struct plugins is the culprit
I would welcome a PR 😅