public class CortexMetricsNotifier extends Notifier
Modifier and Type | Class and Description |
---|---|
static class |
CortexMetricsNotifier.CortexMetricsNotifierDescriptor
Descriptor.
|
Publisher.DescriptorExtensionListImpl
ExtensionPoint.LegacyInstancesAreScopedToHudson
BuildStep.PublisherList
BUILDERS, PUBLISHERS
Constructor and Description |
---|
CortexMetricsNotifier() |
Modifier and Type | Method and Description |
---|---|
Secret |
getBearerToken() |
Map<String,String> |
getLabels() |
String |
getNamespace() |
BuildStepMonitor |
getRequiredMonitorService() |
String |
getUrl() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
setBearerToken(Secret bearerToken) |
void |
setLabels(Map<String,String> labels) |
void |
setNamespace(String namespace) |
void |
setUrl(String url) |
getDescriptor
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, prebuild
public BuildStepMonitor getRequiredMonitorService()
public String getUrl()
@DataBoundSetter public void setUrl(String url)
public Secret getBearerToken()
@DataBoundSetter public void setBearerToken(Secret bearerToken)
public String getNamespace()
@DataBoundSetter public void setNamespace(String namespace)
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform
in interface BuildStep
perform
in class BuildStepCompatibilityLayer
InterruptedException
IOException
Copyright © 2016–2021. All rights reserved.