gitlab-haskell-1.0.0.1: A Haskell library for the GitLab web API
Copyright(c) Rob Stewart Heriot-Watt University 2019
LicenseBSD3
Maintainerrobstewart57@gmail.com
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

GitLab.API.Pipelines

Description

 
Synopsis

List project pipelines

pipelines Source #

Arguments

:: Project

the project

-> GitLab [Pipeline] 

List pipelines in a project. Child pipelines are not included in the results, but you can get child pipeline individually.

Get a single pipeline

pipeline Source #

Arguments

:: Project

the project

-> Int

The ID of a pipeline

-> GitLab (Either (Response ByteString) (Maybe Pipeline)) 

Get one pipeline from a project.

Get a pipeline’s test report

pipelineTestReport Source #

Arguments

:: Project

the project

-> Int

the pipeline ID

-> GitLab (Either (Response ByteString) (Maybe TestReport)) 

get a pipeline’s test report. Since GitLab 13.0.

Create a new pipeline

newPipeline Source #

Arguments

:: Project

the project

-> Text

The branch or tag to run the pipeline on.

-> GitLab (Either (Response ByteString) (Maybe Pipeline)) 

Create a new pipeline. Since GitLab 14.6.

Retry jobs in a pipeline

retryPipeline Source #

Arguments

:: Project

the project

-> Int

The ID of a pipeline

-> GitLab (Either (Response ByteString) (Maybe Pipeline)) 

Retry a pipeline. Since GitLab 14.6.

Cancel a pipeline’s jobs

cancelPipelineJobs Source #

Arguments

:: Project

the project

-> Int

The ID of a pipeline

-> GitLab (Either (Response ByteString) (Maybe Pipeline)) 

Cancel a pipeline's jobs.

Delete a pipeline

deletePipeline Source #

Arguments

:: Project

the project

-> Int

The ID of a pipeline

-> GitLab (Either (Response ByteString) (Maybe ())) 

Delete a pipline. Since GitLab 14.6.