Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58890

hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method:

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Credentials Binding Plugin ver. 1.19
      Jenkins ver. 2.176.2
      Multi-Branch pipeline

      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

            Unassigned Unassigned
            ygeva yoav geva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: