ikedam resolved Bug JENKINS-21543 as Cannot Reproduce

I cannot reproduce. What I tested:

Environment: With Jenkins-1.509.2, Build-timeout 1.14 on Windows 8 64 bit, Java 1.7.0_45
Steps:

  1. Create a free style project.
    • Enable "Abort the build if it's stuck"
      • Time-out strategy: Likely stuck
      • Time-out variable: TIMEOUTVALUE
        • This is added in Build-timeout 1.13. You can get the build timeout milliseconds
    • Add "Execute shell" ()
      echo ${TIMEOUTVALUE}
      sleep 180
  2. Run a build. The log was:
    Started by user anonymous
    Building in workspace C:\Users\ikedam\.jenkins\jobs\timeouttest\workspace
    [workspace] $ sh -xe C:\Users\ikedam\AppData\Local\Temp\hudson7811755437042469206.sh
    + echo 86400000
    86400000
    + sleep 180
    Finished: SUCCESS
    
  3. Run a build again. The log was:
    Started by user anonymous
    Building in workspace C:\Users\ikedam\.jenkins\jobs\timeouttest\workspace
    [workspace] $ sh -xe C:\Users\ikedam\AppData\Local\Temp\hudson670841287852715641.sh
    + echo 1803440
    1803440
    + sleep 180
    Finished: SUCCESS
    


As far as I tested, It worked perfect.
And as far as I reviewed the code, it should work as Executor#isLikelyStuck() does as described in the help text.

Change By: ikedam (12/Jul/14 3:07 AM)
Status: Open Resolved
Resolution: Cannot Reproduce
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to