Closed maniphanh closed 6 years ago
@maniphanh It would be cool to have CI actually drop this file with the actual build info.
@raymer I think this has always been the plan since we are reading off txt file :) that is only one reason I can think of but no one has added this step to our build config yet :)
@nu @raymer Let me know if this is what you guys have been planning to do.
To create a file from Jenkins Job, You need to add a build step call "Execute Shell"
echo $PARAMETER_NAME_HERE > file.txt
Done and in code review
when calling app status endpoint app will look for File.txt and ready buildNumber property and return to caller. We need to add File.txt with the content: { "build": { "buildNumber": "1.0.0"}}