org.jvnet.hudson.test.recipes
Annotation Type WithPlugin


@Documented
@Recipe(value=WithPlugin.RunnerImpl.class)
@JenkinsRecipe(value=WithPlugin.RuleRunnerImpl.class)
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface WithPlugin

Installs the specified plugin before launching Hudson.

Author:
Kohsuke Kawaguchi

Required Element Summary
 String value
          Name of the plugin.
 

Element Detail

value

public abstract String value
Name of the plugin. For now, this has to be one of the plugins statically available in resources "/plugins/NAME". TODO: support retrieval through Maven repository. TODO: load the HPI file from $M2_REPO or $USER_HOME/.m2 by naming e.g. org.jvnet.hudson.plugins:monitoring:hpi:1.34.0 (used in conjunction with the depepdency in POM to ensure it's available)



Copyright © 2004-2013. All Rights Reserved.