On Thu, Dec 11, 2014 at 4:45 PM, Craig Silverstein
<[email protected]> wrote:
> I guess I was just surprised not to see [the ‘build’ step] mentioned, since 
> it seemed like a pretty important feature.

Could be. Will consider adding a section on it. Anyway there are
several important RFEs to implement on this step.

> our build job uses the ec2 plugin to dynamically manage ec2 machines running 
> the
> build slaves; I wouldn't know how to get the same functionality via groovy

You mean a build step that does something to EC2? This plugin would
just need to implement the newish Jenkins core API
SimpleBuildStep—typically, though not always, a simple refactoring—and
then the generic ‘step’ step could run it.

If you mean you just want to run on an EC2 slave, that is covered by ‘node’.

> by "this" do you mean: canceling sibling [branches] when a [branch] inside 
> 'parallel' fails?

Yes.

> I'm glad to file an RFE.  Where is the right place to file it?

JIRA, component ‘workflow-plugin’.

> does 'parallel' have a return value?

It does not seem to be documented (and perhaps not tested) but it does
seem to return a map of the return values of its branches. File an
issue to make sure this is documented and tested (and works).

> Do steps have a return value in general?

Sure. Some like ‘readFile’ have no other purpose. Others like ‘tool’
do something but really need the return value to be useful. Others
return a value which is not commonly used.

> If I had 'parallel [ nodeA: ..., nodeB: ...]' and nodeA failed, would I have 
> some way of telling that things failed?

The whole ‘parallel’ step would fail in this case.

> This is pretty contrived though.

Yeah, I think the plain ‘timeout’ step (with a predetermined timeout
for each branch) would be what you would use in practice.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1udR0B4tTY_cAiWt-R2zJ37fdAPN%3D2sqOxz-ysEAHoow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to