jenkinsci / jenkinsci/credentials-binding-plugin

[JENKINS-58890] hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method:

Open
#470 0 comments 0 reactions 0 assignees View on GitHub
component:credentials-binding-plugin imported-jira-issue priority:minor resolution:unresolved
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:


  • status: Open
  • priority: Minor
  • component(s): credentials-binding-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251211-141027

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.