Class FortifyPollResults
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.fodupload.steps.FortifyStep
-
- org.jenkinsci.plugins.fodupload.steps.FortifyPollResults
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,BuildStep
,SimpleBuildStep
public class FortifyPollResults extends FortifyStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FortifyPollResults.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.plugins.fodupload.steps.FortifyStep
lastBuild
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description FortifyPollResults(String releaseId, String bsiToken, int pollingInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBsiToken()
String
getClientId()
String
getClientSecret()
boolean
getOverrideGlobalConfig()
String
getPersonalAccessToken()
int
getPolicyFailureBuildResultPreference()
int
getPollingInterval()
String
getReleaseId()
String
getTenantId()
String
getUsername()
void
perform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
boolean
prebuild(AbstractBuild<?,?> build, BuildListener listener)
void
setClientId(String clientId)
void
setClientSecret(String clientSecret)
void
setOverrideGlobalConfig(boolean overrideGlobalConfig)
void
setPersonalAccessToken(String personalAccessToken)
void
setPolicyFailureBuildResultPreference(int policyFailureBuildResultPreference)
void
setTenantId(String tenantId)
void
setUsername(String username)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Methods inherited from class org.jenkinsci.plugins.fodupload.steps.FortifyStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, setLastBuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Method Detail
-
getReleaseId
public String getReleaseId()
-
getBsiToken
public String getBsiToken()
-
getPollingInterval
public int getPollingInterval()
-
getOverrideGlobalConfig
public boolean getOverrideGlobalConfig()
-
setOverrideGlobalConfig
@DataBoundSetter public void setOverrideGlobalConfig(boolean overrideGlobalConfig)
-
getPolicyFailureBuildResultPreference
public int getPolicyFailureBuildResultPreference()
-
setPolicyFailureBuildResultPreference
@DataBoundSetter public void setPolicyFailureBuildResultPreference(int policyFailureBuildResultPreference)
-
getClientId
public String getClientId()
-
setClientId
@DataBoundSetter public void setClientId(String clientId)
-
getClientSecret
public String getClientSecret()
-
setClientSecret
@DataBoundSetter public void setClientSecret(String clientSecret)
-
getUsername
public String getUsername()
-
setUsername
@DataBoundSetter public void setUsername(String username)
-
getPersonalAccessToken
public String getPersonalAccessToken()
-
setPersonalAccessToken
@DataBoundSetter public void setPersonalAccessToken(String personalAccessToken)
-
getTenantId
public String getTenantId()
-
setTenantId
@DataBoundSetter public void setTenantId(String tenantId)
-
prebuild
public boolean prebuild(AbstractBuild<?,?> build, BuildListener listener)
- Specified by:
prebuild
in interfaceBuildStep
- Overrides:
prebuild
in classFortifyStep
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
- Overrides:
start
in classFortifyStep
- Throws:
Exception
-
perform
public void perform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
-