jbox-web / redmine_jenkins

A Redmine plugin which makes building your Jenkins projects easy ;)
MIT License
71 stars 32 forks source link

List of jobs - some finished jobs marked as "running" #51

Open Alexey-I opened 8 years ago

Alexey-I commented 8 years ago

Hello.

On our installation we see an interesting effect: some jobs do not get out of "running" state. This is what gets logged:

App 3347 stdout: Building job 'MyProject'
App 3347 stdout: Obtaining the current build number of 'MyProject'
App 3347 stdout: Job queued for MyProject, will wait up to 30 seconds for build to start...
App 3347 stdout: Obtaining the details of task with ID '684'
App 3347 stdout: Obtaining the details of task with ID '684'
App 3347 stdout: Obtaining the details of task with ID '684'
App 3347 stdout: Obtaining the details of task with ID '684'
App 3347 stdout: Obtaining the details of task with ID '684'

Plugin defintely gets information it waits for. When I click on one of those tasks to see console output I get:

... Lots of report lines, aaand finally:

Collecting metadata...
Metadata collection done.
Finished: SUCCESS

So the plugin should know job's done, but it leaves state as "Running". If you need more details I'll be glad to update this report.