The *unstash *step outside of a *node *block is illegal, because it wants a
workspace to unstash to:
node('planners') {
// ...
// do a bunch of stuff then stash the product
stash( name: 'plans', includes: 'plans/*' )
}
// this is unwrapped and will throw a MissingContextVariableException
unstash 'plans'
Is there a hack to *unstash *files out into the main workflow, or an
equivalent that doesn't use *stash *and *unstash*? I'm attempting to
offload some of the planning and preparation for downstream flow logic into
the *planners *pool at the top of the flow. The main workflow would then
use that output to split out chunks of work via *parallel*.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" 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-users/4331968d-ebd4-45ea-8fd3-5889498bd6ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.