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.