Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:git:sonar:pipetrigger [2022/05/09 11:51] mbdev: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.   
 +Type in a name for this trigger token and press "add trigger". Remember: the created token refers to your user.   
 +{{ :dev:git:sonar:trigger_configuration.png?direct&600 |}}
 ===== 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, at least for usage within the pipeline. E.g.: the variable CI_COMMIT_MESSAGE is used to start a job and can be set to the necessary value to perform a job.    
 {{ :dev:git:sonar:trigger_usage_postman.png?direct&600 |}} {{ :dev:git:sonar:trigger_usage_postman.png?direct&600 |}}