JenkinsActionProps Struct
Construction properties of JenkinsAction.
Example
ts
declare const jenkinsProvider: codepipeline_actions.JenkinsProvider;
const buildAction = new codepipeline_actions.JenkinsAction({
actionName: 'JenkinsBuild',
jenkinsProvider: jenkinsProvider,
projectName: 'MyProject',
type: codepipeline_actions.JenkinsActionType.BUILD,
});
Properties
The physical, human-readable name of the Action.
Note that Action names must be unique within a single Stage.
inputsoptionalArtifact[]inputsoptionaltyping.List[Artifact]inputsoptionalList<Artifact>InputsoptionalArtifact[]Inputsoptional*[]Artifact#The source to use as input for this build.
jenkinsProviderIJenkinsProviderjenkins_providerIJenkinsProviderjenkinsProviderIJenkinsProviderJenkinsProviderIJenkinsProviderJenkinsProviderIJenkinsProviderrequired#The Jenkins Provider for this Action.
The name of the project (sometimes also called job, or task) on your Jenkins installation that will be invoked by this Action.
example
ts
'MyJob'
runOrderoptionalnumberrun_orderoptionalint | floatrunOrderoptionalNumberRunOrderoptionaldoubleRunOrderoptional*float64= 1#The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
typeJenkinsActionTypetypeJenkinsActionTypetypeJenkinsActionTypeTypeJenkinsActionTypeTypeJenkinsActionTyperequired#The type of the Action - Build, or Test.
variablesNamespaceoptionalstringvariables_namespaceoptionalstrvariablesNamespaceoptionalStringVariablesNamespaceoptionalstringVariablesNamespaceoptional*string#The name of the namespace to use for variables emitted by this action.
Default: a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set