Reputation: 287
I created with my user, one trigger in the Pipeline triggers of my project. I successfully executed the trigger and it appears on the job page. But since I want this trigger to be used by all developers on my team, I need to see who triggered the job. But always appears on the job page, that I, who created the trigger, triggered all jobs and not the other user who actually triggered it.
There is any way that can I show who triggered the job?
I tried to use, as another option the creating pipeline via API and setting a private token to each user. But when I pass a variable in the request, apparently the Gitlab API is not working with the variables option. Because, when we create a pipeline trigger and request it, we don't pass a user token, we pass the trigger token.
https://gitlab.com/gitlab-org/gitlab-ce/issues/52926
Upvotes: 3
Views: 5447
Reputation: 837
If you navigate to the repository that contains the CI Pipeline, under CI/CD>Pipelines there should be a table showing all past instances of the pipeline. There is a "Triggerer" column which should show you who triggered it.
If you are still unable to see who triggered it, perhaps you need to adjust your own permissions
Upvotes: 0