I have a few Jenkins build jobs for compiling a .NET application using npm, msbuild, and unit test case execution steps.
It shows build success and hangs after exit 0 status, because of that downstream jobs are delayed and failing after long waiting time.

Is it some process blocking or some plugin issue?
PS: I don't want to use build-timeout plugin as the build is already showing success but taking too long to exist from that job.
I had the same issue and added"-DSoftKillWaitSeconds=0" in jenkins.xml before the -jar option. Now jobs execute normally for me. Link to solution
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With