Skip to content

Commit

Permalink
feat: debug codebuild env
Browse files Browse the repository at this point in the history
  • Loading branch information
martin.mueller committed Jan 3, 2021
1 parent c984d40 commit 217675b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipeline-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class PipelineStack extends core.Stack {
stageAccount,
);

console.log(`Env: ${JSON.stringify(props.env)}`);
console.log(`Env: ${JSON.stringify(process.env)}`);

new core.CfnOutput(customStage.customStack, 'Stage', { value: stageAccount.stage || 'not set!' });
new core.CfnOutput(customStage.customStack, 'CommitID', { value: process.env.CODEBUILD_RESOLVED_SOURCE_VERSION || 'not set!' });
Expand Down

0 comments on commit 217675b

Please sign in to comment.