Copyright | (c) Rob Stewart Heriot-Watt University 2019 |
---|---|
License | BSD3 |
Maintainer | robstewart57@gmail.com |
Stability | stable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- pipelines :: Project -> GitLab [Pipeline]
- pipeline :: Project -> Int -> GitLab (Either (Response ByteString) (Maybe Pipeline))
- pipelineTestReport :: Project -> Int -> GitLab (Either (Response ByteString) (Maybe TestReport))
- newPipeline :: Project -> Text -> GitLab (Either (Response ByteString) (Maybe Pipeline))
- retryPipeline :: Project -> Int -> GitLab (Either (Response ByteString) (Maybe Pipeline))
- cancelPipelineJobs :: Project -> Int -> GitLab (Either (Response ByteString) (Maybe Pipeline))
- deletePipeline :: Project -> Int -> GitLab (Either (Response ByteString) (Maybe ()))
List project pipelines
List pipelines in a project. Child pipelines are not included in the results, but you can get child pipeline individually.
Get a single pipeline
:: 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
:: 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
:: 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
:: 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
:: Project | the project |
-> Int | The ID of a pipeline |
-> GitLab (Either (Response ByteString) (Maybe Pipeline)) |
Cancel a pipeline's jobs.
Delete a pipeline
Delete a pipline. Since GitLab 14.6.