Since the change to add the ability to pass variables it appears that if you just want to start a job, it produces a body that gitlab just straight throws away and reports nothing
running Start-GitlabJob with -Debug and no variables specified creates this output
{
"job_variables_attributes": {}
}
And will silently fail to start the job.
API documentation shows the body for job_variables_attributes is an array []
Since the change to add the ability to pass variables it appears that if you just want to start a job, it produces a body that gitlab just straight throws away and reports nothing
running
Start-GitlabJob
with-Debug
and no variables specified creates this outputAnd will silently fail to start the job.
API documentation shows the body for
job_variables_attributes
is an array[]
if job_variables_attributes is set to an empty array, then it works