JMeterAliases.

JMeterUninstallPlugin(ICakeContext, string) Method

Summary

Uninstalls the given plugin from the JMeter package.
Assembly
Cake.JMeter.dll
Namespace
Cake.JMeter
Containing Type
JMeterAliases

Syntax

public static void JMeterUninstallPlugin(this ICakeContext context, string pluginName)

Examples

Use the #addin preprocessor directive and the #tool

#tool "nuget:?package=JMeter&version=5.0.0&include=./**/*.bat"
#addin "nuget:?package=Cake.JMeter"

Cake task:

Task("SomeTask").Does(() => {
    JMeterUninstallPlugin("jpgc-casutg");
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
pluginName string The name of the plugin to uninstall. Should be the plugin name (ex: jpgc-json). Multiple can be uninstalled at once by separating them with a comma.

Return Value

Type Description
void