-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(pipelines): Specifying variable namespace for pipelines.CodeBuildStep #15943
Copy link
Copy link
Closed
Labels
@aws-cdk/pipelinesCDK Pipelines libraryCDK Pipelines libraryeffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
We are currently looking into the new pipelines API but I cannot seem to find a way to specify variable namespace for pipelines.CodeBuildStep. Is this implemented or is this a missing feature from the new API?
Use Case
We would like to execute commands and use their outputs in the CodePipeline:
const command = new pipelines.CodeBuildStep('customaction', {
partialBuildSpec: ...,
commands: [],
});
props.stageDeployment.addPost(command);
const variableName = command.variable('OUTPUT_NAME');Proposed Solution
Other
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/pipelinesCDK Pipelines libraryCDK Pipelines libraryeffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2