Skip to content

Instantly share code, notes, and snippets.

View mantri-govind's full-sized avatar
🎯
Focusing

Govind Mantri mantri-govind

🎯
Focusing
View GitHub Profile
@mantri-govind
mantri-govind / gitlab-extract-job-tag.rb
Last active September 23, 2019 18:05
This script will extract tag from gitlab's pending job
#
# @author : mantri-govind
#
# This script will pull first tag by default. If you wish to extract all consider updating last time and remove the index.
#
# Details for parameters
# JobName : Name of gitlab job for which we want to extract tag
# projectId : Project Id can be found on your repo's main page
# commitId : pass the full commit ID which should be extracted by job API
#