[JIRA] [pipeline-utility-steps-plugin] (JENKINS-34173) Pipeline snippet generator - build job with password parameter

11 views
Skip to first unread message

jan.collijs@inuits.eu (JIRA)

unread,
Apr 12, 2016, 10:05:01 AM4/12/16
to jenkinsc...@googlegroups.com
Jan Collijs created an issue
 
Jenkins / Bug JENKINS-34173
Pipeline snippet generator - build job with password parameter
Issue Type: Bug Bug
Assignee: rsandell
Components: pipeline-utility-steps-plugin
Created: 2016/Apr/12 2:04 PM
Environment: Jenkins ver. 1.650
Pipeline plugin 2.0
Labels: plugin
Priority: Minor Minor
Reporter: Jan Collijs

When trying to generate a snippet to build a job which has a password parameter through the pipeline plugin it refuses to generate the snippet.

in the jenkins.log an error is logged:

Caused by: org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class hudson.util.Secret
at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:177)
at org.jenkinsci.plugins.structs.describable.DescribableModel.<init>(DescribableModel.java:105)
at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate_(DescribableModel.java:466)
at org.jenkinsci.plugins.structs.describable.DescribableParameter.uncoerce(DescribableParameter.java:164)
at org.jenkinsci.plugins.structs.describable.DescribableParameter.inspect(DescribableParameter.java:112)
at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate(DescribableModel.java:426)
at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate_(DescribableModel.java:466)
at org.jenkinsci.plugins.structs.describable.DescribableParameter.uncoerce(DescribableParameter.java:164)
at org.jenkinsci.plugins.structs.describable.DescribableParameter.uncoerce(DescribableParameter.java:158)
at org.jenkinsci.plugins.structs.describable.DescribableParameter.inspect(DescribableParameter.java:112)
at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate(DescribableModel.java:426)
at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate_(DescribableModel.java:466)
at org.jenkinsci.plugins.workflow.steps.StepDescriptor.defineArguments(StepDescriptor.java:114)
at org.jenkinsci.plugins.workflow.cps.Snippetizer.object2Groovy(Snippetizer.java:68)
at org.jenkinsci.plugins.workflow.cps.Snippetizer.doGenerateSnippet(Snippetizer.java:218)
... 78 more

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

rsandell@cloudbees.com (JIRA)

unread,
Apr 15, 2016, 10:54:01 AM4/15/16
to jenkinsc...@googlegroups.com
rsandell assigned an issue to Jesse Glick
Change By: rsandell
Component/s: workflow-plugin
Component/s: pipeline-utility-steps-plugin
Assignee: rsandell Jesse Glick
Reply all
Reply to author
Forward
0 new messages