1

I am reading Gitlab-CI API trigger documentation.

I understand that with:

curl -X POST \
     -F token=<token> \
     -F ref=master \
     https://gitlab.com/api/v4/projects/142/trigger/pipeline

I can trigger the latest pipeline for master.

How can I trigger the latest pipeline for the latest tag with CURL and the Gitlab-CI API?

Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204

0 Answers0