Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need to add File.txt root API project for status endpoint to read off #150

Closed
maniphanh opened this issue Aug 3, 2017 · 4 comments
Closed

Comments

@maniphanh
Copy link
Contributor

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"}}

@raymer
Copy link
Contributor

raymer commented Aug 3, 2017

@maniphanh It would be cool to have CI actually drop this file with the actual build info.

@maniphanh
Copy link
Contributor Author

@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 :)

@rajeshpandalss
Copy link
Contributor

@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"

#!/bin/bash
echo $PARAMETER_NAME_HERE > file.txt

@raymer
Copy link
Contributor

raymer commented Jun 10, 2018

Done and in code review

@raymer raymer mentioned this issue Jun 10, 2018
@raymer raymer closed this as completed Jun 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants