Hi there,

I want to make rest calls from a Jenkinsfile pipeline as a means of 
cleaning up artifacts uploaded to Nexus. (pipeline - REST -> Nexus)
This SO answer 
by amuniz states that the recommended way to go is to use a shell step 
instead of a direct groovy call to avoid blocking the main thread. My 
question is:

Is it safe to make the 'blocking' groovy call at the end of the pipeline? I 
mean, would this blocking be problematic to other builds?

If it is problematic, would an asynchronous groovy call get around this 

Thank you for your attention.

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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to