[FIXED JENKINS-13349] Added a timeout strategy for no activity.
[JENKINS-13349] Added tests for NoActivityTimeOutStrategy.
[JENKINS-13349] messages for NoActivityTimeOutStrategy.
Close decorated OutputStream to release file handle.
[JENKINS-13349] Reset the timer only when line break is output.
Merge pull request #17 from ikedam/feature/JENKINS-13349_LastActivity

[JENKINS-13349] Added timeout detection from the last output log.
[FIXED JENKINS-21926] Added regression tests.
[JENKINS-21926] [JENKINS-21919] Added tests to migration from 1.1.12.
Merge pull request #19 from ikedam/feature/JENKINS-21926_AddTests

[JENKINS-21926] add regression tests
[FIXED JENKINS-21919] Generalize actions performed in timeout with an extension point.
[JENKINS-21919] Some fixes for views: changed the entry order from actions, strategy to strategy, actions/open a new window for the link to the build configuration page.
[JENKINS-21919] Added tests for BuildTimeOutOperation.
[JENKINS-21919] transient for unused fields.
Merge pull request #18 from ikedam/feature/JENKINS-21919_TimeoutAction

[JENKINS-21919] Extension point to define actions when timeout
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.
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.
remove log ouputs to stderr

log ouputs to stderr is not required because the tests do not expect to fail.
Merge pull request #22 from zaro0508/expose-timeout

expose the build timeout with an environment variable
[JENKINS-13349] Not fire timout repeatedly with NoActivityTimeOutStrategy.
Added BuildStepOperation, that enables to perform any build steps (but does not ensure whether they work correct).