8000
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.
2 parents 945cc66 + 0793271 commit 5f444e4Copy full SHA for 5f444e4
gitlab/objects.py
@@ -965,7 +965,7 @@ def play(self, **kwargs):
965
"""Trigger a build explicitly."""
966
url = '/projects/%s/builds/%s/play' % (self.project_id, self.id)
967
r = self.gitlab._raw_post(url)
968
- raise_error_from_response(r, GitlabBuildPlayError, 201)
+ raise_error_from_response(r, GitlabBuildPlayError)
969
970
def erase(self, **kwargs):
971
"""Erase the build (remove build artifacts and trace)."""
0 commit comments