Reputation: 11
I need to obtain git commit sha from codebuild and use it in aws lambda environment variable. Is this possible? Thank you!
Upvotes: 1
Views: 210
Reputation: 672
You can check the available environment variables in the aws code build page, the commit sha would be CODEBUILD_RESOLVED_SOURCE_VERSION in particular
Upvotes: 0