jenkinsci / jenkinsci/credentials-binding-plugin
[JENKINS-58890] hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method:
- Dominant language
- Java
- Stars
- 57
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: Pipelines.string() is applicable for argument types: (java.util.LinkedHashMap) values: [[credentialsId:api-token, variable:CONFIG_AUTH]]
Possible solutions: toString(), toString(), print(java.lang.Object), print(java.io.PrintWriter), find(), find(groovy.lang.Closure)
happened multi-branch pipeline type, I have an object with a method that uses Credentials Binding Plugin, when I init that object from other object (not jenkinsfile) I get the message above when I call the method that contain the plugin.
A workaround that worked was init the object inside the jenkinsfile and give the reference as parameter.
This does not block but it limiting writing pipeline as code
---
Originally reported by ygeva, imported from: hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method:
Raw content of original issue
hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: Pipelines.string() is applicable for argument types: (java.util.LinkedHashMap) values: [[credentialsId:api-token, variable:CONFIG_AUTH]]
Possible solutions: toString(), toString(), print(java.lang.Object), print(java.io.PrintWriter), find(), find(groovy.lang.Closure)happened multi-branch pipeline type, I have an object with a method that uses Credentials Binding Plugin, when I init that object from other object (not jenkinsfile) I get the message above when I call the method that contain the plugin.
A workaround that worked was init the object inside the jenkinsfile and give the reference as parameter.
This does not block but it limiting writing pipeline as code
environment
```
Credentials Binding Plugin ver. 1.19
Jenkins ver. 2.176.2
Multi-Branch pipeline
```
Contributor guide
Assessment
This issue has not been assessed yet.