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

Snippet Generator fails for Secret File Binding

    XMLWordPrintable

Details

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

    Description

      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)
      

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

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

              Dates

                Created:
                Updated:
                Resolved: