Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GitlabService

Implement GitServiceInterface to interact this a Gitlab repository

Hierarchy

  • GitlabService

Implements

Index

Constructors

constructor

Properties

Private httpService

httpService: HttpService

projectId

projectId: string

token

token: string

urlApi

urlApi: string

Methods

addIssueComment

addPRComment

createIssue

createPullRequest

  • createPullRequest(gitCreatePRInfos: GitPRInfos): void

createRelease

createTag

  • createTag(gitTag: GitTag): void

createWebhook

  • createWebhook(webhookURL: string): void

deleteBranch

  • deleteBranch(branchName: string): void

deleteFile

getFileContent

getIssues

getLastBranchesCommitSha

getLastCommit

  • getLastCommit(branch?: string): Promise<string>

getPullRequests

mergePullRequest

setEnvironmentVariables

  • setEnvironmentVariables(dataAccessService: DataAccessService, repositoryFullName: string): Promise<void>

setProjectId

  • setProjectId(projectId: string): void

setToken

  • setToken(token: string): void

setUrlApi

  • setUrlApi(urlApi: string): void

updateCommitStatus

updateIssue

updatePullRequest

Generated using TypeDoc