Plugin Information |
---|
View Variant on the plugin site for more information. |
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)
- https://github.com/jenkinsci/variant-plugin/pull/3 Internal compatibility fix for Plugin Compatibility Tester execution.
Version 1.1 (2015-11-25)
- Fixed JENKINS-39612: Upgrade to new parent POM.
- Fixed JENKINS-37317: Errors when
requiredClasses
that do not exist are provided.
Version 1.0 (2015-08-07)
Initial plugin release.