Skip to content

Add refs/tags/ prefix to selected tag #328

Description

@famod

What feature do you want to see added?

I'm using this plugin to feed the a select value directly to the "Branches to build"-Attribute (of the Git plugin) in a pipeline job:
Image

This is working fine when selecting branches (PT_BRANCH or PT_BRANCH_TAG) but not when selecting a tag (e.g. PT_BRANCH_TAG) because this plugin will only return the simple tag name without the refs/tags/ prefix, which is needed by git-plugin (see highlighted section in the help text).

It would therefore be really helpful if I could tell the plugin something like "Always add refs/tags/ prefix to tag values" or something line that.

Upstream changes

No response

Are you interested in contributing this feature?

Possibly, with some guidance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions