Commit graph

3 commits

Author SHA1 Message Date
Matija Čupić
6ad56a229f
Add specs for TriggerVariableEntity 2018-12-07 17:07:58 +01:00
jhampton
058de0d401 Conditionally send variable values
We only want to send trigger variable values if the user is a
maintainer.
2018-12-03 15:33:48 -05:00
Steve Azzopardi
1b388c798b
Add trigger information for job API
Create new entity called TriggerVariablesEnitity for trigger variables,
to aid reuseablity in the future.

Update JSON schema to include trigger information in the response.

Refactor rspec tests a bit to reduce duplication and for the `context`
to make sense.

closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50989
2018-09-12 11:00:39 +02:00