Joel Rivera af2f8122e3 Allow to configure the timeout value for the GitInput plugin in different places.
1. From the hydra configuration file.

    The configuration is loaded from the "git-input" block.
    Currently only the "timeout" variable is been looked up in the file.

    <git-input>
      # general timeout
      timeout = 400
      <input-name>
        # specific timeout for a particular input name
        timeout = 400
      </input-name>

      # use quotes when the input name has spaces
      <"foot with spaces">
        # specific timeout for a particular input name
        timeout = 400
      </"foo with spaces">
    </git-input>

2. As an argument in the input value after the repo url and branch (and after the deepClone if is defined)
   "timeout=<value>"

The preference on which value is used:

 1. input value
 2. Block with the name of the input in the <git-input> block
 3. "timeout" inside the <git-input> block
 4. Default value of 600 seconds. (original hard-coded value)

The code is generalized for more values to be configured, it might be too much
for a single value on a single plugin.
2017-04-13 19:10:53 -05:00
2015-05-28 17:38:17 +02:00
2011-01-14 10:52:47 +00:00
2017-03-03 12:33:22 +01:00
2010-03-29 14:16:46 +00:00
2010-09-30 14:29:15 +00:00
2016-03-22 13:10:37 +01:00

Hydra

Hydra is a continuous integration system based on the Nix package manager. For more information, see the manual.

For development see [hacking instructions] (http://nixos.org/hydra/manual/#chap-hacking).


Icons provided free by EmojiOne.

Description
No description provided
Readme 18 MiB
Languages
Perl 70.5%
C++ 15.5%
Nix 6%
PLpgSQL 3%
Shell 2.3%
Other 2.6%