This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev:git:sonar:pipetrigger [2022/05/09 11:42] – created mb | dev:git:sonar:pipetrigger [2022/05/09 12:22] (current) – [Usage] mb | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | + | Pipeline triggers can be used to start a pipeline via command-line. Triggers will refer to the last commit and are configured in single projects. | |
- | ===== Headline | + | |
+ | ===== Configuration | ||
+ | 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 ===== | ||
+ | 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, | ||
+ | {{ : |