Package com.nowsecure.plugin
Class NowSecurePlugin
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.nowsecure.plugin.NowSecurePlugin
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,SimpleBuildStep
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionNowSecurePlugin(String binaryFilePath, String group, String tokenCredentialId) -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()intintgetStringProperty(Computer computer, String propName) voidvoidsetAnalysisType(AnalysisType analysisType) voidsetApiHost(String apiHost) voidsetArtifactDir(String artifactDir) voidsetLogLevel(LogLevel logLevel) voidsetMinimumScore(int minimumScore) voidsetNowsecureCIVersion(String nowsecureCIVersion) voidsetPollingDurationMinutes(int pollingDurationMinutes) voidMethods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
NowSecurePlugin
-
-
Method Details
-
getStringProperty
public String getStringProperty(Computer computer, String propName) throws AbortException, InterruptedException, IOException -
perform
public void perform(Run<?, ?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
setAnalysisType
-
setLogLevel
-
setArtifactDir
-
setApiHost
-
setUiHost
-
setNowsecureCIVersion
-
setMinimumScore
@DataBoundSetter public void setMinimumScore(int minimumScore) -
setPollingDurationMinutes
@DataBoundSetter public void setPollingDurationMinutes(int pollingDurationMinutes) -
getBinaryFilePath
-
getGroup
-
getTokenCredentialId
-
getArtifactDir
-
getApiHost
-
getUiHost
-
getNowsecureCIVersion
-
getLogLevel
-
getAnalysisType
-
getMinimumScore
public int getMinimumScore() -
getPollingDurationMinutes
public int getPollingDurationMinutes()
-