Drone plugins > Gitlab-CI
gitlab.svg

Gitlab-CI

by appleboy


The Gitlab-ci plugin allows you to trigger Gitlab-ci job automatically.

Example

kind: pipeline
name: default

steps:
- name: trigger gitlab job
  image: appleboy/drone-gitlab-ci
  settings:
    host: https://gitlab.com
    token: xxxxxxxxxx
    ref: master
    id: gitlab-project-id

Properties

  • host

    stringrequired

    Gitlab server url

    Default: none

  • token

    stringrequired

    Gitlab token

    Secret recommended

    Default: none

  • ref

    stringrequired

    valid refs are only the branches and tags

    Default: none

  • id

    stringrequired

    Gitlab project id

    Default: none

  • debug

    booleanoptional

    Enable debug mode

    Default: false