Package hudson.plugins.blazemeter
Class BzmBuild
- java.lang.Object
-
- jenkins.security.MasterToSlaveCallable<Result,Exception>
-
- hudson.plugins.blazemeter.BzmBuild
-
- All Implemented Interfaces:
hudson.remoting.Callable<Result,Exception>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public class BzmBuild extends MasterToSlaveCallable<Result,Exception> implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BzmBuild(PerformanceBuilder builder, String apiId, String apiSecret, String jobName, String buildId, String serverURL, EnvVars envVars, FilePath workspace, TaskListener listener, ProxyConfiguration proxyConfiguration, boolean isSlave, String reportLinkName, long reportLinkId, String mainTestFile, String additionalTestFiles, boolean isUnstableIfHasFails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Result
call()
void
checkRoles(org.jenkinsci.remoting.RoleChecker roleChecker)
void
createGlobalEnvironmentVariables(String key, String value)
com.blazemeter.ciworkflow.CiBuild
getBuild()
void
interrupt(com.blazemeter.ciworkflow.CiBuild build, com.blazemeter.api.explorer.Master master, PrintStream logger)
void
sendWebhookNotificationSlack(String masterId, String testName, String publicReportUrl, String webhookUrl)
void
sendWebhookNotificationTeams(String masterId, String testName, String publicReportUrl, String webhookUrl)
-
Methods inherited from class jenkins.security.MasterToSlaveCallable
getChannelOrFail, getOpenChannelOrFail
-
-
-
-
Constructor Detail
-
BzmBuild
public BzmBuild(PerformanceBuilder builder, String apiId, String apiSecret, String jobName, String buildId, String serverURL, EnvVars envVars, FilePath workspace, TaskListener listener, ProxyConfiguration proxyConfiguration, boolean isSlave, String reportLinkName, long reportLinkId, String mainTestFile, String additionalTestFiles, boolean isUnstableIfHasFails)
-
-
Method Detail
-
interrupt
public void interrupt(com.blazemeter.ciworkflow.CiBuild build, com.blazemeter.api.explorer.Master master, PrintStream logger)
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker roleChecker) throws SecurityException
- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Overrides:
checkRoles
in classMasterToSlaveCallable<Result,Exception>
- Throws:
SecurityException
-
getBuild
public com.blazemeter.ciworkflow.CiBuild getBuild()
-
createGlobalEnvironmentVariables
public void createGlobalEnvironmentVariables(String key, String value)
-
sendWebhookNotificationTeams
public void sendWebhookNotificationTeams(String masterId, String testName, String publicReportUrl, String webhookUrl)
-
-