Package com.checkmarx.jenkins
Class CheckmarxScanBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- com.checkmarx.jenkins.CheckmarxScanBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
public class CheckmarxScanBuilder extends Builder implements SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CheckmarxScanBuilder.CheckmarxScanBuilderDescriptor
-
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 Modifier and Type Field Description static String
CVS_BRANCH
static String
CVS_BRANCH_VAR
static String
DEFAULT_BRANCH_WARN
static String
GIT_BRANCH
static String
GIT_BRANCH_VAR
static String
LOGFILE
static String
SVN_REVISION
static String
SVN_REVISION_VAR
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description CheckmarxScanBuilder()
CheckmarxScanBuilder(boolean useOwnServerCredentials, String serverUrl, boolean useAuthenticationUrl, String baseAuthUrl, String tenantName, String projectName, String credentialsId, boolean useOwnAdditionalOptions, String additionalOptions, String branchName)
-
Method Summary
-
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Field Detail
-
DEFAULT_BRANCH_WARN
public static final String DEFAULT_BRANCH_WARN
- See Also:
- Constant Field Values
-
GIT_BRANCH
public static final String GIT_BRANCH
- See Also:
- Constant Field Values
-
GIT_BRANCH_VAR
public static final String GIT_BRANCH_VAR
- See Also:
- Constant Field Values
-
CVS_BRANCH
public static final String CVS_BRANCH
- See Also:
- Constant Field Values
-
CVS_BRANCH_VAR
public static final String CVS_BRANCH_VAR
- See Also:
- Constant Field Values
-
SVN_REVISION
public static final String SVN_REVISION
- See Also:
- Constant Field Values
-
SVN_REVISION_VAR
public static final String SVN_REVISION_VAR
- See Also:
- Constant Field Values
-
LOGFILE
public static final String LOGFILE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CheckmarxScanBuilder
@DataBoundConstructor public CheckmarxScanBuilder(boolean useOwnServerCredentials, @Nullable String serverUrl, boolean useAuthenticationUrl, String baseAuthUrl, String tenantName, String projectName, String credentialsId, boolean useOwnAdditionalOptions, String additionalOptions, String branchName)
-
CheckmarxScanBuilder
public CheckmarxScanBuilder()
-
-
Method Detail
-
getUseOwnServerCredentials
public boolean getUseOwnServerCredentials()
-
setUseOwnServerCredentials
@DataBoundSetter public void setUseOwnServerCredentials(boolean useOwnServerCredentials)
-
getServerUrl
@Nullable public String getServerUrl()
-
setServerUrl
@DataBoundSetter public void setServerUrl(@Nullable String serverUrl)
-
getTenantName
public String getTenantName()
-
setTenantName
@DataBoundSetter public void setTenantName(@Nullable String tenantName)
-
getProjectName
public String getProjectName()
-
setProjectName
@DataBoundSetter public void setProjectName(String projectName)
-
getBranchName
public String getBranchName()
-
setBranchName
@DataBoundSetter public void setBranchName(String branchName)
-
getCredentialsId
public String getCredentialsId()
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(String credentialsId)
-
getUseOwnAdditionalOptions
public boolean getUseOwnAdditionalOptions()
-
setUseOwnAdditionalOptions
@DataBoundSetter public void setUseOwnAdditionalOptions(boolean useOwnAdditionalOptions)
-
getAdditionalOptions
public String getAdditionalOptions()
-
setAdditionalOptions
@DataBoundSetter public void setAdditionalOptions(@Nullable String additionalOptions)
-
getCheckmarxInstallation
public String getCheckmarxInstallation()
-
setCheckmarxInstallation
@DataBoundSetter public void setCheckmarxInstallation(String checkmarxInstallation)
-
isUseAuthenticationUrl
public boolean isUseAuthenticationUrl()
-
setUseAuthenticationUrl
@DataBoundSetter public void setUseAuthenticationUrl(boolean useAuthenticationUrl)
-
getBaseAuthUrl
public String getBaseAuthUrl()
-
setBaseAuthUrl
@DataBoundSetter public void setBaseAuthUrl(String baseAuthUrl)
-
perform
public void perform(@NonNull @NonNull Run<?,?> run, @NonNull @NonNull FilePath workspace, EnvVars envVars, @NonNull @NonNull Launcher launcher, @NonNull @NonNull TaskListener listener)
- Specified by:
perform
in interfaceSimpleBuildStep
-
getDescriptor
public CheckmarxScanBuilder.CheckmarxScanBuilderDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
-