-
New Feature
-
Resolution: Won't Fix
-
Major
-
None
It seems that the build-timeout plugin cannot be used in Jenkins pipelines and we would really want to be able to use it.
While the pipelines do have the `timeout()` command this has a different behaviour which sets a fixed timeout, not one that can vary based on the existence or not of output on the build.
Also it would be extremely useful to update the plugin homepage (wiki) in order to document its relationship with the timeout() from pipelines.
- is related to
-
JENKINS-26521 timeout step should support breaking on inactivity, not just a fixed duration
-
- Resolved
-
-
JENKINS-32228 Event when timeout is reach should be customizable
-
- Resolved
-
-
JENKINS-27396 Elastic timeout in pipeline
-
- Open
-
Not a bug.
build-timeout is provided as an implementation of BuildWrapper which is applicable to `AbstractBuild`.
As pipelines don't use `BuildWrapper`, build-timeout doesn't work for pipelines.
In other words, build-timeout doesn't target pipeline for now.
> Also it would be extremely useful to update the plugin homepage (wiki) in order to document its relationship with the timeout() from pipelines.
You can do that by yourself as it is a wiki.
I don't know so much about timeout() in pipeline to write documents.