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

Add Git build info when we build a distribution #3370

Closed
kimchy opened this issue Jul 23, 2013 · 0 comments
Closed

Add Git build info when we build a distribution #3370

kimchy opened this issue Jul 23, 2013 · 0 comments

Comments

@kimchy
Copy link
Member

kimchy commented Jul 23, 2013

Would be nice to have git data (like commit hash, UTC time, ...) of a build of ES.

Initial thoughts are we should have a Build class similar to Version class (we don't want to have this info as part of Version, since we serialize it on each request), that would read its info from a properties file that gets included in our jar file. We can use this plugin: http://mojo.codehaus.org/buildnumber-maven-plugin/ to do it potentially.

We should return the Build info on top of the Version info in the following cases:

  • when doing GET /
  • bin/elasticsearch -v
  • when the server starts up
@ghost ghost assigned javanna and kimchy Jul 23, 2013
@kimchy kimchy closed this as completed in 70bbcb4 Jul 24, 2013
kimchy added a commit that referenced this issue Jul 24, 2013
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants