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

Snippet Generator fails for Secret File Binding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • pipeline
    • None
    • CloudBees Dev@Cloud
      workflow-plugin: 1.4
      jenkins: unfortunate CB does not show the jenkins version used anymore :(

      using the Snippet Generator to generate an entry for "Bindings > Secret File" fails with the following error:

      java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.credentialsbinding.impl.BindingStep from {"stapler-class":"org.jenkinsci.plugins.credentialsbinding.impl.BindingStep","bindings":{"variable":"LAYER_PK","credentialsId":["layer_private_key.test_key",""],"stapler-class<span class="code-quote">":"org.jenkinsci.plugins.credentialsbinding.impl.FileBinding","kind":"org.jenkinsci.plugins.credentialsbinding.impl.FileBinding"}}
      	at hudson.model.Descriptor.newInstance(Descriptor.java:577)
      	at org.jenkinsci.plugins.workflow.cps.Snippetizer.doGenerateSnippet(Snippetizer.java:203)
      

            jglick Jesse Glick
            domi Dominik Bartholdi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: