public class CodeBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
CodeBuilder.DescriptorImpl
Descriptor for CodeBuilder.
|
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
static String |
authorizationError |
static String |
configuredImproperlyError |
static String |
envVariableNameSpaceError |
static String |
envVariableSyntaxError |
static String |
invalidSecondarySourceArtifacts |
static String |
jenkinsSourceOverrideError |
static String |
jenkinsSourceProjectSourceTypeError |
static String |
notVersionsedS3BucketError |
static String |
s3ARNPrefix |
static String |
s3BucketBaseURL |
String |
workspaceExcludes |
String |
workspaceIncludes |
Constructor and Description |
---|
CodeBuilder(String credentialsType,
String credentialsId,
String proxyHost,
String proxyPort,
String awsAccessKey,
hudson.util.Secret awsSecretKey,
String awsSessionToken,
String region,
String projectName,
String sourceVersion,
String sseAlgorithm,
String sourceControlType,
String localSourcePath,
String workspaceSubdir,
String gitCloneDepthOverride,
String reportBuildStatusOverride,
String secondarySourcesOverride,
String secondarySourcesVersionOverride,
String artifactTypeOverride,
String artifactLocationOverride,
String artifactNameOverride,
String artifactNamespaceOverride,
String artifactPackagingOverride,
String artifactPathOverride,
String artifactEncryptionDisabledOverride,
String overrideArtifactName,
String secondaryArtifactsOverride,
String envVariables,
String envParameters,
String buildSpecFile,
String buildTimeoutOverride,
String sourceTypeOverride,
String sourceLocationOverride,
String environmentTypeOverride,
String imageOverride,
String computeTypeOverride,
String cacheTypeOverride,
String cacheLocationOverride,
String cacheModesOverride,
String cloudWatchLogsStatusOverride,
String cloudWatchLogsGroupNameOverride,
String cloudWatchLogsStreamNameOverride,
String s3LogsStatusOverride,
String s3LogsEncryptionDisabledOverride,
String s3LogsLocationOverride,
String certificateOverride,
String serviceRoleOverride,
String insecureSslOverride,
String privilegedModeOverride,
String cwlStreamingDisabled,
String exceptionFailureMode,
String downloadArtifacts,
String downloadArtifactsRelativePath) |
Modifier and Type | Method and Description |
---|---|
String |
credentialsTypeEquals(String given) |
static String |
decodeJSON(String json) |
String |
downloadArtifactsEquals(String given) |
String |
generateS3ArtifactURL(String artifactsTypeOverride,
String artifactLocation) |
String |
getArtifactRoot(hudson.FilePath ws) |
CodeBuilder.DescriptorImpl |
getDescriptor() |
String |
getParameterized(String codeBuildParam) |
static List<String> |
listCacheModes(String cacheModes) |
static Collection<com.amazonaws.services.codebuild.model.EnvironmentVariable> |
mapEnvVariables(String envVars,
com.amazonaws.services.codebuild.model.EnvironmentVariableType envVarType) |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath ws,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath ws,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
org.jenkinsci.plugins.workflow.steps.StepContext stepContext) |
protected Object |
readResolve() |
String |
sourceControlTypeEquals(String given) |
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundSetter public String workspaceIncludes
@DataBoundSetter public String workspaceExcludes
public static final String authorizationError
public static final String configuredImproperlyError
public static final String s3BucketBaseURL
public static final String s3ARNPrefix
public static final String jenkinsSourceOverrideError
public static final String jenkinsSourceProjectSourceTypeError
public static final String envVariableSyntaxError
public static final String envVariableNameSpaceError
public static final String notVersionsedS3BucketError
public static final String invalidSecondarySourceArtifacts
@DataBoundConstructor public CodeBuilder(String credentialsType, String credentialsId, String proxyHost, String proxyPort, String awsAccessKey, hudson.util.Secret awsSecretKey, String awsSessionToken, String region, String projectName, String sourceVersion, String sseAlgorithm, String sourceControlType, String localSourcePath, String workspaceSubdir, String gitCloneDepthOverride, String reportBuildStatusOverride, String secondarySourcesOverride, String secondarySourcesVersionOverride, String artifactTypeOverride, String artifactLocationOverride, String artifactNameOverride, String artifactNamespaceOverride, String artifactPackagingOverride, String artifactPathOverride, String artifactEncryptionDisabledOverride, String overrideArtifactName, String secondaryArtifactsOverride, String envVariables, String envParameters, String buildSpecFile, String buildTimeoutOverride, String sourceTypeOverride, String sourceLocationOverride, String environmentTypeOverride, String imageOverride, String computeTypeOverride, String cacheTypeOverride, String cacheLocationOverride, String cacheModesOverride, String cloudWatchLogsStatusOverride, String cloudWatchLogsGroupNameOverride, String cloudWatchLogsStreamNameOverride, String s3LogsStatusOverride, String s3LogsEncryptionDisabledOverride, String s3LogsLocationOverride, String certificateOverride, String serviceRoleOverride, String insecureSslOverride, String privilegedModeOverride, String cwlStreamingDisabled, String exceptionFailureMode, String downloadArtifacts, String downloadArtifactsRelativePath)
protected Object readResolve()
public void perform(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.FilePath ws, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener, org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws InterruptedException, IOException
InterruptedException
IOException
public void perform(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.FilePath ws, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
public String getArtifactRoot(hudson.FilePath ws)
public String generateS3ArtifactURL(String artifactsTypeOverride, String artifactLocation)
public static Collection<com.amazonaws.services.codebuild.model.EnvironmentVariable> mapEnvVariables(String envVars, com.amazonaws.services.codebuild.model.EnvironmentVariableType envVarType) throws com.amazonaws.services.codebuild.model.InvalidInputException
com.amazonaws.services.codebuild.model.InvalidInputException
public CodeBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2016–2023. All rights reserved.