The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

GitLab Plugin

acceptGitLabMR: Accept GitLab Merge Request

  • mergeCommitMessage (optional)
    • Type: String
  • removeSourceBranch (optional)
    • Type: boolean
  • useMRDescription (optional)
    • Type: boolean

addGitLabMRComment: Add comment on GitLab Merge Request

  • comment (optional)
    • Type: String

gitlabBuilds: Notify gitlab about pending builds

  • builds (optional)
    • Type: Array / List of String

gitlabCommitStatus: Update the commit status in GitLab depending on the build status

  • name
    • Type: String
  • builds (optional)
      Array / List of Nested Object
    • connection (optional)
        Nested Object
      • gitLabConnection
        • Type: String
      • jobCredentialId (optional)
        • Type: String
      • useAlternativeCredential (optional)
        • Type: boolean
    • name (optional)
      • Type: String
    • projectId (optional)
      • Type: String
    • revisionHash (optional)
      • Type: String
  • connection (optional)
      Nested Object
    • gitLabConnection
      • Type: String
    • jobCredentialId (optional)
      • Type: String
    • useAlternativeCredential (optional)
      • Type: boolean

updateGitlabCommitStatus: Update the commit status in GitLab

  • name (optional)
    • Type: String
  • state (optional)
    • Values: pending, running, canceled, success, failed, skipped

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.