haosdent / list-git-branches-parameter-plugin

jenkins plugin for list git branches

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This plugin is highly motivated by Git Parameter Plugin but But unlike Git Parameter Plugin, this plugin will not change working space at all at build-time

Background

When using jenkins pipeline style job and defining pipeline through "Pipeline script" (not "Pipeline script from SCM"), it becomes difficult to use Git Parameter Plugin since the plugin uses SCM in the job definition.

Sometimes we want to specify a git branch or tag before as a parameter, for "Pipeline script" jobs that use SCM in the script, it is impossible with Git Parameter Plugin. In this particular case, a plugin that can list remote git branches or tags without defining scm in the job is needed.

HowToUse

Please refer to wiki List Git Branches Parameter Plugin

About

jenkins plugin for list git branches

License:MIT License


Languages

Language:Java 73.1%Language:JavaScript 18.9%Language:HTML 8.0%