We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75adfea commit fad209fCopy full SHA for fad209f
cloudbees/provider.py
@@ -9,13 +9,13 @@
9
from rox.server.rox_options import RoxOptions
10
11
class CloudbeesProvider(AbstractProvider):
12
- def __init__(self, api_key="", rox_options=None):
+ def __init__(self, api_key="", rox_options=None, timeout=None):
13
if api_key == "":
14
raise Exception("Must provide apiKey")
15
16
if rox_options is None:
17
rox_options = RoxOptions()
18
- Rox.setup(api_key, rox_options).result()
+ Rox.setup(api_key, rox_options).result(timeout)
19
20
def get_metadata(self) -> Metadata:
21
return Metadata("Cloudbees")
0 commit comments