Could you try the pipeline snippet in this comment? https://issues.jenkins-ci.org/browse/JENKINS-44143?focusedCommentId=329510&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-329510
-- 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/883f5895-bda6-46f8-ae96-0640b373d8e8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
