Hi,

I've been "playing-around" with the workflow plugin - trying to evaluate 
its use for our team and our clients.

I have found some issues I'd like to share with you and hopefully promote 
them in future releases.

Thanks a lot,

Sagi


*Questions:*

-          Where can I find documentation of the supported Groovy CPS DSL 
syntax?

-          Is there a way to build existing jobs?

-          How can I dynamically run a function/closure with different 
parameters in parallel?

o   BuildFlow Example:

parallel ( (1..maxValue).collect { ctr -> someClosureUsing_ctr} )

-          Is it possible to specify a tool's version for scm steps (e.g. 
git 1.2.3)?

-          How can I reuse script code between different Workflow jobs?


*Bugs:*

-          *Console Output* prints are not synced with actual run making it 
almost impossible to read.

-          *org.jenkinsci.plugins.workflow.cps.ParallelStepException* fails 
the entire build/workflow and not just the step.

o   Example:

with.node('master') { parallel({sh ("pwd")}, {sh ("noop")}, {sh ("ls")})}

-          *java.lang.UnsupportedOperationException* hangs the build.

o   Example:

println a[0]  // doesn't like []

*Features:*

-          There are no line numbers in the Groovy CPS DSL Script text box. 
So when compilation/run-time errors are received, it's hard to find the 
right erroneous line.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to