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

GitLab.API.Jobs

Description

 
Synopsis

List project jobs

jobs Source #

Arguments

:: Project

the project

-> GitLab [Job] 

returns all jobs ran on a project.

List pipeline jobs

pipelineJobs Source #

Arguments

:: Project

the project

-> Int

pipeline ID

-> GitLab (Either (Response ByteString) [Job]) 

Get a list of jobs for a pipeline.

List pipeline bridges

pipelineBridges Source #

Arguments

:: Project

the project

-> Int

pipeline ID

-> GitLab (Either (Response ByteString) [Job]) 

Get a list of bridge jobs for a pipeline.

Get a single job

job Source #

Arguments

:: Project

the project

-> Int

job ID

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

Get a single job of a project.

Cancel a job

cancelJob Source #

Arguments

:: Project

the project

-> Int

job ID

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

Cancel a single job of a project.

Retry a job

retryJob Source #

Arguments

:: Project

the project

-> Int

job ID

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

Retry a single job of a project.

Erase a job

eraseJob Source #

Arguments

:: Project

the project

-> Int

job ID

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

Retry a single job of a project.

Run a job

runJob Source #

Arguments

:: Project

the project

-> Int

job ID

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

Triggers a manual action to start a job.