I want the some of the variables should be required before executing the pipeline in gitlab. Can I achieve it. I have below gitlab-ci.yml
stages: # Runs First - Anything that needs to run prior to your scripts running
- deploy
- Script
variables:
Domain:
value: "dom"
HOST_NAME:
value: ""
JAVA_FILES_WITH_ARGS:
value: ""
I want to make mandatory(JAVA_FILES_WITH_ARGS, HOST_NAME) before run the pipeline how can I achieve it. it will not start the pipeline without these two variable values.