Class GitBranchTokenMacro

  • All Implemented Interfaces:
    ExtensionPoint

    @Extension(optional=true)
    public class GitBranchTokenMacro
    extends org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
    GIT_BRANCH token that expands to the branch(es) that was built.
    Author:
    Kohsuke Kawaguchi
    • Field Detail

      • all

        public boolean all
        If true, list up all the branches not just the first one.
      • fullName

        public boolean fullName
        If true, include all the prefixes of the branch name
    • Constructor Detail

      • GitBranchTokenMacro

        public GitBranchTokenMacro()