Skip to content

A simple Bash script to trigger Gitlab pipeline from the Api. Usefull for CICD tools like Rundeck, Jenkins, etc...

Notifications You must be signed in to change notification settings

cyrilbkr/bash-trigger-gitlabpipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

bash-trigger-gitlabpipeline

A simple Bash script to trigger Gitlab pipeline from the Api. Usefull for CICD tools like Rundeck, Jenkins, etc...

Usage :

# ./trigger-gitlabpipeline.sh <gitlab_user_token> <gitlab_pipeline_token> <gitlab_pipeline_projetcs_id> 

<gitlab_pipeline_projetcs_id> : project id

<gitlab_user_token> : Gitlab user token

<gitlab_pipeline_token> : Gitlab project pipeline token

Example :
# ./trigger-gitlabpipeline.sh 9948813 ft3z0tcgyJ999uoo2MsV 078a80343fe75711e5b020999e7583

About

A simple Bash script to trigger Gitlab pipeline from the Api. Usefull for CICD tools like Rundeck, Jenkins, etc...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages