Readonly
commandsCommands to run
Readonly
dependencyThe list of FileSets consumed by this Step
Readonly
envEnvironment variables to set
Readonly
envSet environment variables based on Stack Outputs
Readonly
idIdentifier for this step
Readonly
inputsInput FileSets
A list of (FileSet, directory)
pairs, which are a copy of the
input properties. This list should not be modified directly.
Readonly
installInstallation 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
.
Readonly
isWhether or not this is a Source step
What it means to be a Source step depends on the engine.
Readonly
outputsOutput FileSets
A list of (FileSet, directory)
pairs, which are a copy of the
input properties. This list should not be modified directly.
StackOutputReferences this step consumes.
Protected
addAdd an additional FileSet to the set of file sets required by this step
This will lead to a dependency on the producer of that file set.
Add an additional output FileSet based on a directory.
After running the script, the contents of the given directory
will be exported as a FileSet
. Use the FileSet
as the
input to another step.
Multiple calls with the exact same directory name string (not normalized) will return the same FileSet.
Add a dependency on another step.
Protected
configureConfigure the given FileSet as the primary output of this step
Protected
discoverCrawl the given structure for references to StepOutputs and add dependencies on all steps found
Should be called in the constructor of subclasses based on what the user passes in as construction properties. The format of the structure passed in here does not have to correspond exactly to what gets rendered into the engine, it just needs to contain the same data.
Configure the given output directory as primary output
If no primary output has been configured yet, this directory will become the primary output of this ShellStep, otherwise this method will throw if the given directory is different than the currently configured primary output directory.
Static
sequence
Run shell script commands in the pipeline. This is a generic step designed to be deployment engine agnostic.