Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/build-timeout-plugin
  Commit: 0b72617c47c6db3b9a580e68124f5d24b0e999b4
      
https://github.com/jenkinsci/build-timeout-plugin/commit/0b72617c47c6db3b9a580e68124f5d24b0e999b4
  Author: Khai Do <[email protected]>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M src/main/java/hudson/plugins/build_timeout/BuildTimeoutWrapper.java
    M 
src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/config.jelly
    M 
src/test/java/hudson/plugins/build_timeout/BuildTimeoutWrapperIntegrationTest.java
    M 
src/test/java/hudson/plugins/build_timeout/operations/WriteDescriptionOperationTest.java

  Log Message:
  -----------
  expose the build timeout with an environment variable

It would be nice to have the jenkins job timeout available during the entire 
build.
Tests, particularly long running tests, can make use of the timeout to evaluate 
and
do stuff during a test run.  Currently the work around is to set the timeout 
value in
the jenkins timeout plugin then (using the envinject plugin) inject that value 
into
job as an environment variable so that it's available globally to the job.  
Although
this works it's not a great solution especially if you have tons of projects 
that needs
to be  updated with that workaround.  Also any workaround would requires two 
plugins
while this functionality can easily be accomplished with just the build timeout 
plugin.

This change allows users to set the build timeout to a custom environment 
variable.
By default the plugin does not set a variable at all, users must explicitly 
enter
a value into the 'Time-out variable' textbox for the plugin to add the 
environment
variable to a build.

Also added tests to verify this feature.


  Commit: 3d21b27a457f83ab26d203be25965a6a9aee0538
      
https://github.com/jenkinsci/build-timeout-plugin/commit/3d21b27a457f83ab26d203be25965a6a9aee0538
  Author: Khai Do <[email protected]>
  Date:   2014-03-13 (Thu, 13 Mar 2014)

  Changed paths:
    M src/main/java/hudson/plugins/build_timeout/BuildTimeoutWrapper.java
    M 
src/test/java/hudson/plugins/build_timeout/BuildTimeoutWrapperIntegrationTest.java
    M 
src/test/java/hudson/plugins/build_timeout/operations/WriteDescriptionOperationTest.java

  Log Message:
  -----------
  fixes for build timeout environment variable feature

fixed the following
1. added the new tests to verify the timeout env variable.
2. keep the previous constructor to preserve backwards compatability.
3. revert existing tests to use the previous constructor.


  Commit: a0ca75b26c375985368014f01d6646d6468eb7af
      
https://github.com/jenkinsci/build-timeout-plugin/commit/a0ca75b26c375985368014f01d6646d6468eb7af
  Author: Khai Do <[email protected]>
  Date:   2014-03-14 (Fri, 14 Mar 2014)

  Changed paths:
    M 
src/test/java/hudson/plugins/build_timeout/BuildTimeoutWrapperIntegrationTest.java

  Log Message:
  -----------
  remove log ouputs to stderr

log ouputs to stderr is not required because the tests do not expect to fail.


  Commit: c0f9266339bc8675489a5ac535f1689ab00cc2dd
      
https://github.com/jenkinsci/build-timeout-plugin/commit/c0f9266339bc8675489a5ac535f1689ab00cc2dd
  Author: ikedam <[email protected]>
  Date:   2014-03-16 (Sun, 16 Mar 2014)

  Changed paths:
    M src/main/java/hudson/plugins/build_timeout/BuildTimeoutWrapper.java
    M 
src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/config.jelly
    M 
src/test/java/hudson/plugins/build_timeout/BuildTimeoutWrapperIntegrationTest.java

  Log Message:
  -----------
  Merge pull request #22 from zaro0508/expose-timeout

expose the build timeout with an environment variable


Compare: 
https://github.com/jenkinsci/build-timeout-plugin/compare/651b539f7898...c0f9266339bc

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to