-
Bug
-
Resolution: Unresolved
-
Minor
-
None
When trying to generate a parallel step from the snippet generator an exception is thrown:
java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.workflow.cps.steps.ParallelStep from {"stapler-class":"org.jenkinsci.plugins.workflow.cps.steps.ParallelStep", "$class":"org.jenkinsci.plugins.workflow.cps.steps.ParallelStep"} at hudson.model.Descriptor.newInstance(Descriptor.java:579) at org.jenkinsci.plugins.workflow.cps.Snippetizer.doGenerateSnippet(Snippetizer.java:212) ... Caused by: org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.workflow.cps.steps.ParallelStep at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:177)
- is duplicated by
-
JENKINS-39605 Documentation for "parallel" step is broken
-
- Resolved
-
-
JENKINS-32159 Reference documentation generation fails for parallel step
-
- Resolved
-
-
JENKINS-39004 org.kohsuke.stapler.NoStaplerConstructorException in Pipeline Sytax: Reference
-
- Resolved
-
-
JENKINS-43879 IntelliJ GDSL reports error on ParallelStep
-
- Closed
-
- is related to
-
JENKINS-38404 Pipeline Syntax Help does not show Parallel step syntax
-
- Open
-
- links to
(1 links to)
The text shown in the Snippet Generator for the parallel step explains the syntax and notes that mechanical generation of snippets is not available in this case. I am not sure what else there is to do. This is a special step in that it is engine-specific and has a syntax outside the normally permitted scope.