Fix: add missing sshUserPrivateKey options of CredentialsBinding Plugin for wrapper #1389
ci.jenkins.io / Tests / linux-17 / Build (linux-17)
failed
Sep 7, 2023 in 0s
failed: 2, passed: 2268
Send us feedback
Details
javaposse.jobdsl.dsl.doc.ExampleValidationSpec.test examples in src/main/docs/examples/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContext/credentialsBinding.groovy
Expected no exception to be thrown, but got 'javaposse.jobdsl.dsl.DslScriptException'
Stack trace
Expected no exception to be thrown, but got 'javaposse.jobdsl.dsl.DslScriptException'
at spock.lang.Specification.noExceptionThrown(Specification.java:118)
at javaposse.jobdsl.dsl.doc.ExampleValidationSpec.test examples in #file(ExampleValidationSpec.groovy:32)
Caused by: javaposse.jobdsl.dsl.DslScriptException: (script, line 4) No signature of method: javaposse.jobdsl.dsl.helpers.wrapper.CredentialsBindingContext.addSimpleBinding() is applicable for argument types: (java.lang.String, java.lang.String, java.lang.String) values: [File, KEYSTORE, keystore.jks]
at javaposse.jobdsl.dsl.AbstractDslScriptLoader.runScriptEngine(AbstractDslScriptLoader.groovy:114)
at javaposse.jobdsl.dsl.AbstractDslScriptLoader.runScripts_closure1(AbstractDslScriptLoader.groovy:61)
at groovy.lang.Closure.call(Closure.java:420)
at groovy.lang.Closure.call(Closure.java:436)
at javaposse.jobdsl.dsl.AbstractDslScriptLoader.runScripts(AbstractDslScriptLoader.groovy:46)
at javaposse.jobdsl.dsl.doc.ExampleValidationSpec.test examples in #file(ExampleValidationSpec.groovy:29)
Caused by: groovy.lang.MissingMethodException: No signature of method: javaposse.jobdsl.dsl.helpers.wrapper.CredentialsBindingContext.addSimpleBinding() is applicable for argument types: (java.lang.String, java.lang.String, java.lang.String) values: [File, KEYSTORE, keystore.jks]
at javaposse.jobdsl.dsl.AbstractExtensibleContext.methodMissing(AbstractExtensibleContext.groovy:19)
at javaposse.jobdsl.dsl.helpers.wrapper.CredentialsBindingContext.file(CredentialsBindingContext.groovy:21)
at script$_run_closure1.closure2$_closure3(script:4)
at script$_run_closure1.closure2$_closure3(script)
at javaposse.jobdsl.dsl.ContextHelper.executeInContext(ContextHelper.groovy:16)
at javaposse.jobdsl.dsl.helpers.wrapper.WrapperContext.credentialsBinding(WrapperContext.groovy:532)
at script.run_closure1$_closure2(script:3)
at script.run_closure1$_closure2(script)
at javaposse.jobdsl.dsl.ContextHelper.executeInContext(ContextHelper.groovy:16)
at javaposse.jobdsl.dsl.Project.wrappers(Project.groovy:245)
at script.run_closure1(script:2)
at groovy.lang.Closure.call(Closure.java:420)
at groovy.lang.Closure.call(Closure.java:436)
at javaposse.jobdsl.dsl.JobParent.processItem(JobParent.groovy:248)
at javaposse.jobdsl.dsl.JobParent.freeStyleJob(JobParent.groovy:47)
at javaposse.jobdsl.dsl.JobParent.job(JobParent.groovy:39)
at script.run(script:1)
at javaposse.jobdsl.dsl.AbstractDslScriptLoader.runScript(AbstractDslScriptLoader.groovy:138)
at javaposse.jobdsl.dsl.AbstractDslScriptLoader.runScriptEngine(AbstractDslScriptLoader.groovy:108)
... 5 more
Standard out
Processing provided DSL script
javaposse.jobdsl.dsl.helpers.wrapper.WrapperContextSpec.call credentials binding
No signature of method: javaposse.jobdsl.dsl.helpers.wrapper.CredentialsBindingContext.addSimpleBinding() is applicable for argument types: (java.lang.String, java.lang.String, java.lang.String) values: [File, A, foo]
Stack trace
groovy.lang.MissingMethodException: No signature of method: javaposse.jobdsl.dsl.helpers.wrapper.CredentialsBindingContext.addSimpleBinding() is applicable for argument types: (java.lang.String, java.lang.String, java.lang.String) values: [File, A, foo]
at javaposse.jobdsl.dsl.AbstractExtensibleContext.methodMissing(AbstractExtensibleContext.groovy:19)
at javaposse.jobdsl.dsl.helpers.wrapper.CredentialsBindingContext.file(CredentialsBindingContext.groovy:21)
at javaposse.jobdsl.dsl.helpers.wrapper.WrapperContextSpec.call credentials binding_closure73(WrapperContextSpec.groovy:1239)
at javaposse.jobdsl.dsl.helpers.wrapper.WrapperContextSpec.call credentials binding_closure73(WrapperContextSpec.groovy)
at javaposse.jobdsl.dsl.ContextHelper.executeInContext(ContextHelper.groovy:16)
at javaposse.jobdsl.dsl.helpers.wrapper.WrapperContext.credentialsBinding(WrapperContext.groovy:532)
at javaposse.jobdsl.dsl.helpers.wrapper.WrapperContextSpec.call credentials binding(WrapperContextSpec.groovy:1238)
Loading