| Unfortunately with bitbucket-branch-source-plugin: 2.6.0 I can not make use of "traits" with job-dsl + configuration-as-code. I used to be able to do the following:
organizationFolder('foo') {
displayName('Foobar')
organizations {
bitbucket {
serverUrl('https://stash.foobar.com')
repoOwner('foo')
credentialsId('stash-token')
traits {
sourceWildcardFilter {
includes('sample-project')
excludes('')
}
}
}
}
But now its not supported anymore. Also clearly visible via the api-viewer that that option is now missing. Downgrading bitbucket-branch-source-plugin to 2.5.0 fixes the issue. So definitely a regression happening. |