Category: Jenkins, gitlab, automation

by In DevOps Continuous Integration(CI) and Continuous Delivery(CD), managing projects in git level is very much important and useful for version control.

In this post Gitlab Restful APIs for group has been used along with groovy script to create group. So how to create gitab group by consuming Gitlab Restful API in Groovy script.

Once after creating the above groovy class, use load constructor in Jenkins Pipeline script to call createGitlabGroup() by providing Gitlab information such as gitlab token, gitlab URL , parent group(Id) and group name as input arguments.

Related Articles