Please add the possibility to query pipeline variables as available by the Rest API
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/pipelines/46/variables"
with an example response of
[
{
"key": "RUN_NIGHTLY_BUILD",
"variable_type": "env_var",
"value": "true"
},
{
"key": "foo",
"value": "bar"
}
]
API could look like the following
public List<Variable> getPipelineVariables(Object projectIdOrPath, int pipelineId) throws GitLabApiException {