Fork me on GitHub

Herr Knedel/Sinologi-Nas: Menyiapkan Pemicu Gitlab

Created Sun, 16 Feb 2020 00:00:00 +0000 Modified Sat, 01 Oct 2022 10:35:18 +0000 Schwierigkeitsgrad: Für jeden machbar

58 Words

Untuk memicu pipeline Gitlab secara otomatis, apa yang disebut pemicu harus dibuat. Anda bisa membuat pemicu sebanyak yang Anda inginkan dalam pengaturan proyek.

Pemicu ini terlihat seperti ini. Tentu saja, (placeholder) harus diganti.
x
+
Terminal

$ curl -X POST -F token=(TOKEN) -F ref=(BRANCH) http://(ip):(port)/api/v4/projects/(project-id)/trigger/pipeline

This curl call can be entered into the Synology task scheduler, Done!