Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Plugin Information

View Variant on the plugin site for more information.

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.1 (11/25/2015)

  • Fixed JENKINS-39612: Upgrade to new parent POM.
  • Fixed JENKINS-37317: Errors when requiredClasses that do not exist are provided.

Version 1.0 (8/7/2015)

Initial plugin release.

  • No labels