zionyx / jenkins-tray

Jenkins Tray
MIT License
25 stars 21 forks source link

Fixed NullReferenceError when parse build status from old hudson servers. Fixed calculation of build duration #89

Open lazysmokier opened 6 years ago

lazysmokier commented 6 years ago

Some old hudson versions seems does not support the estimatedDuration field. JenkinsTray fails to update build status in this case

The other issue is estimatedDuration xml field used to calculate durationts field. It seems duration is more appropriate

zionyx commented 6 years ago

Thank you for the pull request. I will include it into the upcoming release when i find time to to produce a release the right way.