Gitlab CI tips
Run script templates inside job scripts
Define the script
.template_script: &template_script
- echo "some more script output"
Run the script in a job
My job:
script:
- *template_script
Predefined variables
Last update:
September 19, 2021