How to run Nexus IQ scan asynchronously

Hi,
I have 50+ java jenkins build and want to run Nexus IQ scan for these builds. So how can i run this scan asynchronously for each jenkins build? OR how can i run this scan for all the builds in single shot?

My problem is that since some of my build is failing with policy violation but i don’t want to make the build fail due to this violation for sometime. Also i don’t want to change the policy action defined on nexus iq server.

Thanks in advance!!

Thanks for the question Sandeep.

Since you don’t want the build to fail when there’s violations you’d have to change the policy action to indicate that.

The idea of an asynchronous scan (or fire and forget) is interesting. Please consider adding an idea for others to comment and vote on: https://community.sonatype.com/c/sonatype-Ideas