summaryrefslogtreecommitdiff
path: root/ick2/client.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-04-20 17:59:50 +0300
committerLars Wirzenius <liw@liw.fi>2018-04-20 17:59:50 +0300
commit872b29cd9e4270add5faceea6ab689a2d9f5161d (patch)
tree815515e455641e6286e89c08bed73dbfcfeb79d3 /ick2/client.py
parentef7c00019943b693955c78fd182ac41c925687a9 (diff)
downloadick2-872b29cd9e4270add5faceea6ab689a2d9f5161d.tar.gz
Fix: ControllerClient.trigger to trigger a project
Diffstat (limited to 'ick2/client.py')
-rw-r--r--ick2/client.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ick2/client.py b/ick2/client.py
index bd0586e..008cfd7 100644
--- a/ick2/client.py
+++ b/ick2/client.py
@@ -218,9 +218,8 @@ class ControllerClient:
url = self.url(path)
return self._api.put(url, body=obj)
- def trigger(self, project_name, pipeline_name): # pragma: no cover
- path = '/projects/{}/pipelines/{}/+trigger'.format(
- project_name, pipeline_name)
+ def trigger(self, project_name): # pragma: no cover
+ path = '/projects/{}/+trigger'.format(project_name)
url = self.url(path)
return self._api.get_dict(url)