Optional ReadonlyadditionalAdditional FileSets to put in other directories
Specifies a mapping from directory name to FileSets. During the script execution, the FileSets will be available in the directories indicated.
The directory names may be relative. For example, you can put the main input and an additional input side-by-side with the following configuration:
const script = new pipelines.ShellStep('MainScript', {
commands: ['npm ci','npm run build','npx cdk synth'],
input: pipelines.CodePipelineSource.gitHub('org/source1', 'main'),
additionalInputs: {
'../siblingdir': pipelines.CodePipelineSource.gitHub('org/source2', 'main'),
}
});
ReadonlycommandsCommands to run
Optional ReadonlyenvEnvironment variables to set
Optional ReadonlyenvSet environment variables based on Stack Outputs
ShellSteps following stack or stage deployments may
access the CfnOutputs of those stacks to get access to
--for example--automatically generated resource names or
endpoint URLs.
Optional ReadonlyinputFileSet to run these scripts on
The files in the FileSet will be placed in the working directory when
the script is executed. Use additionalInputs to download file sets
to other directories as well.
Optional ReadonlyinstallInstallation commands to run before the regular commands
For deployment engines that support it, install commands will be classified
differently in the job history from the regular commands.
Optional ReadonlyprimaryThe directory that will contain the primary output fileset
After running the script, the contents of the given directory will be treated as the primary output of this Step.
Construction properties for a
ShellStep.