Skip to content

Commit c96eb8c

Browse files
TheRatGm1guelpf
authored andcommitted
1 parent e33c6ef commit c96eb8c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,17 @@ public function cancelPipeline($project_id, $pipeline_id)
262262
{
263263
return $this->post($this->getProjectPath($project_id, 'pipelines/'.$this->encodePath($pipeline_id)).'/cancel');
264264
}
265-
265+
266+
/**
267+
* @param $project_id
268+
* @param $pipeline_id
269+
* @return mixed
270+
*/
271+
public function deletePipeline($project_id, $pipeline_id)
272+
{
273+
return $this->delete($this->getProjectPath($project_id, 'pipelines/'.$this->encodePath($pipeline_id)));
274+
}
275+
266276
/**
267277
* @param integer $project_id
268278
* @param array $parameters

0 commit comments

Comments
 (0)