Using cURL
I want to pass a variable using the curl command and be able to read from the gitlab pipeline:
curl -X POST
–fail
-F token=TOKEN
-F ref=REF_NAME
https://gitlab.sas.com/api/v4/projects/55057/trigger/pipeline
I can use -F to define a new parameter, however, I do not know if their is a way to be able to access it from the pipeline?