-
Bug
-
Resolution: Unresolved
-
Critical
-
None
My jenkins crash while runing build number 105. I restart it but then the "part of ReleaseDailyPipeline#105" appear on the build queue.
I cannot delete that part, tried to cancel build, delete whole build also not success.
When I restart the jenkins, the "part of ReleaseDailyPipeline#105" disappear so I can start new build. But after few days the "part of ReleaseDailyPipeline#105" come back and jenkins cannot start new build anymore.
So every time when I want to start new piple, I have to restart jenkins.
I tried to delete the queue but cannot, the request in verry long time then die.
I tried to clear whole build queue by command "Jenkins.instance.queue.clear()" but it just freeze, the post request execute but timeout after minutes.
I tried below solution, it also timeout when I set the correct stuck build id:
{{import hudson.model.*def q = Jenkins.instance.queueq.items.findAll
{ it.task.name.startsWith('REPLACEME') }.each { q.cancel(it.task) }}}
{{}}
I tried to clean the file queue.xml in jenkins home page but doesn't work.{{}}
{{}}
I check{{ed the /var/log/jenkins/jenkins.log but don't see anything, no error logged.}}