-
Improvement
-
Resolution: Unresolved
-
Major
-
Jenkins v1.448, Windows 2008 R2 server hosting Jenkins, Windows, Mac and Linux slaves.
The Python Plugin is very useful for encoding logic or operations into a build where a simple shell won't help. It would be nice if the Python Plugin would also work with Conditional BuildStep plugin so that the Python scripts could be conditionally executed. According to this web page (https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin), the problem is because the Python Plugin "does not provide a @DataBoundConstructor constructor and/or the Descriptor does not extend hudson.tasks.BuildStepDescriptor."
- is duplicated by
-
JENKINS-40800 integrate with conditional build step
-
- Open
-
I see that this issue is still unresolved. It would be nice to see this fixed at some point.
As a workaround though I decided to install the ShiningPanda plugin which does seem to work with the Conditional Build Step plugin and thus allows you to still run Python scripts conditionally in a job. This plugin does seem to offer more features than the Python Plugin at the expense of a slightly more complex configuration, so users may still like to use the latter in certain simple cases, so it would still be good to get this bug fixed.