Skip to content
Discussion options

You must be logged in to vote

I'm not sure you can use a closure there. However, you can go with plain Groovy and use this:

publishDir params.output, mode: "${move ? 'move' : 'symlink'}"

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jrm5100
Comment options

Answer selected by jrm5100
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants