Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
210 views
in Technique[技术] by (71.8m points)

Build number or most recent commit # with AWS CodePipeline node.js

I'd like to make the CodePipeline Build# (CODEBUILD_BUILD_NUMBER) available to my node code that is being deployed. Currently there are only two steps in the pipeline: pull from bitbucket, then deploy to Elastic Beanstalk, so I don't know how this would work.

Alternatively, if I could get the most recent commit number available to my node.js code, that would be ok.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This demonstrate how to specify an artifact name that is created at build time.example


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...