dsl-testing :: javaposse.jobdsl.dsl.DslScriptException with OrganizationFolder
See original GitHub issue-
Jenkins version ‘2.222.4’
-
Plugin version ‘2.7.0’
Description
trying to establish testing for our job-dsl scripts we are running into issues with plugin bitbucket-branch-source. Using the job-dsl playground http://job-dsl.herokuapp.com/ with the following snippet we see the very same exception we get in our test-setup.
job-dsl snippet
organizationFolder('foo') {
displayName('Foobar')
organizations {
bitbucket {
serverUrl('https://stash.foobar.com')
repoOwner('foo')
credentialsId('stash-token')
traits {
sourceWildcardFilter {
includes('sample-project')
excludes('')
}
}
}
}
}
exception
javaposse.jobdsl.dsl.DslScriptException: (script, line 5) No signature of method: javaposse.jobdsl.dsl.helpers.workflow.ScmNavigatorsContext.bitbucket() is applicable for argument types: (script$_run_closure1$_closure2$_closure3) values: [script$_run_closure1$_closure2$_closure3@756dbb50]
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Missing DSL for NoTriggerOrganizationFolderProperty
While trying the implement DSL configuration using Bitbucket Branch, I'm not able to implement NoTriggerOrganizationFolderProperty propertie. ERROR: (script, ...
Read more >DslScriptLoader to test Automatically generated DSL
I am using gradle to test that groovy scripts are valid and building. One of my scripts contains an element representing an 'Automatically...
Read more >organizationFolder - Jenkins Job DSL Plugin
Creates or updates an organization folder job. Examples. organizationFolder('example') { description('This contains branch source jobs for Bitbucket and GitHub') ...
Read more >gradle test fail when using slackNotifier in Jenkins Job DSL ...
removed incorrect reply. EDIT. I see I missed the point. The new approach is to reuse the @DataBoundConstructor exposed by plugins, ...
Read more >Job DSL and organizationFolder with Github : r/jenkinsci
I am trying to config my OrganizationFolder using Job DSL using configuration because of this ticket . My problem is the configuration block ......
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
Did you happen to solve this? Seeing the same issue with gitea, and wondering if it might be related.
Working Example