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

Script security rejects Java method - no option to approve it

    Details

    • Similar Issues:

      Description

       

      No such constructor found: new org.jenkinsci.plugins.plaincredentials.impl.StringCredentialsImpl com.cloudbees.plugins.credentials.CredentialsScope$2 java.lang.String org.codehaus.groovy.runtime.GStringImpl java.lang.Boolean.
      Administrators can decide whether to approve or reject this signature. 

      One of my pipelines syncs secrets from an external store into the local credentials store. On one of my Jenkins clusters, my code fails with a script security error. I have noodled around for an hour and I can't figure out how to solve. On the admin script approval page, the above mentioned function is not listed to be approved.

      What tricks or hacks are needed to get this to pass?

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              piratejohnny Jon B
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: