Variant

ID: variant

See

https://github.com/jenkinsci/variant-plugin

This library plugin allows other plugins to behave differently depending on the "environment" where they run.

@OptionalExtension and @OptionalPackage annotations can be used to define a set of required:

  • Plugins.
  • Classes.
  • Variants.

These variants can be activated through:

  • JENKINS_VARIANT environment variable.
  • Jenkins-Variant attribute in META-INF/MANIFEST.MF in the WAR file.
  • Files in $JENKINS_HOME/variants folder.

Version History

Version 1.2 (2019-02-15)

Version 1.1 (2015-11-25)

Version 1.0 (2015-08-07)

Initial plugin release.

ArchivesGet past versions
Version: 1.3
Released:
Requires Jenkins 2.60.3
Installs: 92,523
Labels
This plugin has no labels
Maintainers
tiste
Help us improve this page!
This content is served from the Jenkins Wiki the read-only state. We recommend moving the plugin documentation to GitHub, see the guidelines.