[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#659525: ITP: jenkins-token-macro-plugin -- Adds reusable macro expansion capability for other Jenkins plugins



Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org

--- Please fill out the fields below. ---

   Package name: jenkins-token-macro-plugin
        Version: 1.5.1
Upstream Author: CloudBees, Inc
            URL: https://wiki.jenkins-ci.org/display/JENKINS/Token+Macro+Plugin
        License: MIT
    Description: Adds reusable macro expansion capability for other Jenkins plugins

 In various Jenkins plugins, such as email-ext and description-setter, an user
 is asked to provide an "expression" that evaluates to text. For example, in the
 case of the email-ext plugin, the whole email content is one big expression, so
 is the subject. This often includes some kind of macro tokens, which evaluates
 to things like build number, cause, the current branch being built, etc. In the
 description-setter plugin, the user configures a similar expression that
 evaluates to the string that becomes a build string. In instant messenger
 plugin, one might configure the template that controls what messages the user
 will receive.

 All these plugins share the common concept of token expansions, where something
 like ${SUBVERSION_REVISION} expands to some textual values, and since this
 notion is useful beyond any single use case, it makes sense to define it
 elsewhere. And this is exactly what this plugin does — to define the mechanism
 for plugins to define tokens (and their parameters) and their evaluation, and
 allow this mechanism to be reused by different plugin



Reply to: