Make the "short_token" value of a trigger token accessible as a CI variable
Problem to solve
As reported by a customer in a recent ticket, the "short token" value of a trigger token (of four digits) is currently only rendered in the UI when viewing a job:
The customer has expressed interest in this short value being accessible from within the CI job through a variable (e.g. CI_TRIGGER_SHORT_TOKEN
)
This could be useful where multiple trigger tokens are used, and for administrative/auditing purposes it should be identifiable through means other than the UI.
Proposal
We should expand the ability to grab the "short_token" value, and make this accessible in job itself.
Intended users
Personas are described at https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/