<https://lh3.googleusercontent.com/-Qy3ss1ak8F8/WV_knFTK0II/AAAAAAAAAG4/Jt1c85sSNqsF3FL8l4AXWzWrmm5ylHUqACLcBGAs/s1600/hangTimeout.PNG>
HI,
is the timeout can be used to prevent the warnings publisher and bat hang 
even possible?

stage('Build')
{
timeout(60)
{
bat returnStatus: false, script: "\"${bcad.msbuild_current}\" 
${bcad.msbuild_solution_name} ${bcad.msbuild_default_arg} /t:Build"
step([$class: 'WarningsPublisher', canRunOnFailed: true, consoleParsers: 
[[parserName: 'MSBuild']]])
}
}


and it have hang for over 3 hours now :-(
I was hoping to at least be able to stop those nasty hanging build and make 
them failed but doesn't seem to work. maybe I'm using timeout wrongly or 
the default units is not min like the doc and example said???

<https://lh3.googleusercontent.com/-Qy3ss1ak8F8/WV_knFTK0II/AAAAAAAAAG4/Jt1c85sSNqsF3FL8l4AXWzWrmm5ylHUqACLcBGAs/s1600/hangTimeout.PNG>



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8e24ad7b-cb94-4505-8819-e1592c4f2b49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to