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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Unassigned
            Reporter:
            yoav geva
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: