This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:git:sonar:pipetrigger [2022/05/09 12:04] – [Configuration] mb | dev:git:sonar:pipetrigger [2022/05/09 12:22] (current) – [Usage] mb | ||
---|---|---|---|
Line 3: | Line 3: | ||
| | ||
===== Configuration ===== | ===== Configuration ===== | ||
- | To add pipeline triggers for a project, go to project -> settings -> ci/cd -> Pipeline triggers | + | To add pipeline triggers for a project, go to project -> settings -> ci/cd -> Pipeline triggers. |
+ | Type in a name for this trigger token and press "add trigger" | ||
{{ : | {{ : | ||
===== Usage ===== | ===== Usage ===== | ||
- | As mentioned, triggers can be sent via command-line (curl) as well as with postman. Postman serves a better overview of variables and authentication. | + | As mentioned, triggers can be sent via command-line (curl) as well as with postman. Postman serves a better overview of variables and authentication. For authentication the created token is used. |
+ | It is also possible to send variables to start specific jobs, even $CI variables can be overwritten, | ||
{{ : | {{ : |