Support variable truncation syntax on Runner
Problem
Today customers cannot truncate variables names leading to errors being raised while integrating with 3rd party solutions as explained in &10431.
Proposal
As proposed in gitlab#24659 (comment 1350635985) we should follow the bash convention and adopt similar syntax.
This can include support for other shell environments, or it can be separated into another issue. (The syntax is already supported in bash
and sh
.)
-
Add support for variable truncation syntax on Runner
${CI_COMMIT_REF_SLUG:0:20}