We have a jenkins instance running on Prod , we often see Gitlab scan jobs are stuck and we have to restart the controller to get rid of this .
Is there a way to forcefully kill the scan job ? we just cant keep restarting Prod now and then .
We have tried gc , killing pid implementing cloudbees solution to interrupt the thread running longer than 2 hrs .
Jenkins version - 2.479.3
Gitlab Branch Source Plugin Version - Version703.vc5fd7effcc6b_