Gitlab branches -> Allowed Values Remote URL

11 views
Skip to first unread message

TAYLOR J HAMMERLING

unread,
Feb 1, 2023, 10:37:21 PM2/1/23
to rundeck...@googlegroups.com

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

Reply all
Reply to author
Forward
0 new messages