I have a job that clones down a gitlab repo using
git clone -b """${option.Branch}""" ""”https://NoUserNameNeeded:${option.Rundeck_Access-Gitlab_Personal_Access_Token-READ_API}@${option.HTTPS_Clone_URL}""” ${data.Remote_Location}
the default value for option.Branch is main
I would like to configure the option.Branch to get it’s possible options from a URL, but I haven’t been able to figure out how to get a json of all the branches of the project.
If anyone has any suggestions I would really appreciate them 😊
Thanks much!
Taylor