Class CoverityWorkflowStepFactory
- java.lang.Object
-
- com.synopsys.integration.jenkins.coverity.stepworkflow.CoverityWorkflowStepFactory
-
public class CoverityWorkflowStepFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CoverityWorkflowStepFactory(hudson.EnvVars envVars, hudson.model.Node node, hudson.Launcher launcher, hudson.model.TaskListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.synopsys.integration.stepworkflow.SubStep<java.lang.Object,java.lang.String>
createStepCreateAuthenticationKeyFile(java.lang.String workspaceRemotePath, java.lang.String coverityServerUrl, java.lang.String credentialsId)
CreateMissingProjectsAndStreams
createStepCreateMissingProjectsAndStreams(java.lang.String coverityServerUrl, java.lang.String credentialsId, java.lang.String projectName, java.lang.String streamName)
GetCoverityCommands
createStepGetCoverityCommands(CoverityRunConfiguration coverityRunConfiguration)
GetIssuesInView
createStepGetIssuesInView(java.lang.String coverityServerUrl, java.lang.String credentialsId, java.lang.String projectName, java.lang.String viewName)
com.synopsys.integration.stepworkflow.SubStep<java.lang.Object,java.lang.Object>
createStepPopulateEnvVars(java.util.function.BiConsumer<java.lang.String,java.lang.String> environmentPopulator)
RunCoverityCommands
createStepRunCoverityCommands(java.lang.String workspaceRemotePath, OnCommandFailure onCommandFailure)
SetUpCoverityEnvironment
createStepSetUpCoverityEnvironment(java.util.List<hudson.scm.ChangeLogSet<?>> changeLogSets, ConfigureChangeSetPatterns configureChangeSetPatterns, java.lang.String workspaceRemotePath, java.lang.String coverityServerUrl, java.lang.String credentialsId, java.lang.String projectName, java.lang.String streamName, java.lang.String viewName)
com.synopsys.integration.stepworkflow.jenkins.RemoteSubStep<java.lang.Boolean>
createStepValidateCoverityInstallation(boolean shouldValidateVersion)
CoverityConnectInstance
getCoverityConnectInstanceFromUrl(java.lang.String coverityServerUrl)
java.lang.String
getCoverityToolHomeFromEnvironment()
hudson.FilePath
getIntermediateDirectory(java.lang.String workspaceRemotePath)
com.synopsys.integration.util.IntEnvironmentVariables
getOrCreateEnvironmentVariables()
CoverityJenkinsIntLogger
getOrCreateLogger()
hudson.remoting.VirtualChannel
getOrCreateVirtualChannel()
com.synopsys.integration.coverity.ws.WebServiceFactory
getWebServiceFactoryFromUrl(java.lang.String coverityServerUrl, java.lang.String credentialsId)
-
-
-
Method Detail
-
createStepCreateMissingProjectsAndStreams
public CreateMissingProjectsAndStreams createStepCreateMissingProjectsAndStreams(java.lang.String coverityServerUrl, java.lang.String credentialsId, java.lang.String projectName, java.lang.String streamName) throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
createStepGetCoverityCommands
public GetCoverityCommands createStepGetCoverityCommands(CoverityRunConfiguration coverityRunConfiguration)
-
createStepGetIssuesInView
public GetIssuesInView createStepGetIssuesInView(java.lang.String coverityServerUrl, java.lang.String credentialsId, java.lang.String projectName, java.lang.String viewName) throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
createStepRunCoverityCommands
public RunCoverityCommands createStepRunCoverityCommands(java.lang.String workspaceRemotePath, OnCommandFailure onCommandFailure) throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
createStepCreateAuthenticationKeyFile
public com.synopsys.integration.stepworkflow.SubStep<java.lang.Object,java.lang.String> createStepCreateAuthenticationKeyFile(java.lang.String workspaceRemotePath, java.lang.String coverityServerUrl, java.lang.String credentialsId) throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
createStepSetUpCoverityEnvironment
public SetUpCoverityEnvironment createStepSetUpCoverityEnvironment(java.util.List<hudson.scm.ChangeLogSet<?>> changeLogSets, ConfigureChangeSetPatterns configureChangeSetPatterns, java.lang.String workspaceRemotePath, java.lang.String coverityServerUrl, java.lang.String credentialsId, java.lang.String projectName, java.lang.String streamName, java.lang.String viewName) throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
createStepValidateCoverityInstallation
public com.synopsys.integration.stepworkflow.jenkins.RemoteSubStep<java.lang.Boolean> createStepValidateCoverityInstallation(boolean shouldValidateVersion) throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
createStepPopulateEnvVars
public com.synopsys.integration.stepworkflow.SubStep<java.lang.Object,java.lang.Object> createStepPopulateEnvVars(java.util.function.BiConsumer<java.lang.String,java.lang.String> environmentPopulator)
-
getOrCreateLogger
public CoverityJenkinsIntLogger getOrCreateLogger()
-
getOrCreateEnvironmentVariables
public com.synopsys.integration.util.IntEnvironmentVariables getOrCreateEnvironmentVariables()
-
getCoverityToolHomeFromEnvironment
@Nonnull public java.lang.String getCoverityToolHomeFromEnvironment() throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
getCoverityConnectInstanceFromUrl
public CoverityConnectInstance getCoverityConnectInstanceFromUrl(java.lang.String coverityServerUrl) throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
getWebServiceFactoryFromUrl
public com.synopsys.integration.coverity.ws.WebServiceFactory getWebServiceFactoryFromUrl(java.lang.String coverityServerUrl, java.lang.String credentialsId) throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
getIntermediateDirectory
public hudson.FilePath getIntermediateDirectory(java.lang.String workspaceRemotePath) throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
getOrCreateVirtualChannel
public hudson.remoting.VirtualChannel getOrCreateVirtualChannel() throws CoverityJenkinsAbortException
- Throws:
CoverityJenkinsAbortException
-
-