GitHub user necosta opened a pull request: https://github.com/apache/zeppelin/pull/2398
[ZEPPELIN-2622] Add Zeppelin Git info REST API ### What is this PR for? Added a new REST API that provides more detailed info. on the exact source code Git commit Id that created the build. Useful to track down bugs and replicate issues. ### What type of PR is it? [Improvement] ### Todos * [ ] - Add more Git properties ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-2622 ### How should this be tested? Build Zeppelin. Open http://localhost:8080/api/git ### Screenshots (if appropriate) Expected output: {"status":"OK","message":"Zeppelin Git info","body":{"commitId":"4c2d295","timestamp":"2017-06-06 19:00:01"}} ### Questions: * Does the licenses files need update? N * Is there breaking changes for older versions? N * Does this needs documentation? Y (Done) You can merge this pull request into a Git repository by running: $ git pull https://github.com/nokia/zeppelin zeppelin2622 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2398.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2398 ---- commit 4c2d295c71d85b94f4ecf39edba9fe5c98a036de Author: Nelson Costa <nelson.cost...@gmail.com> Date: 2017-06-06T18:00:01Z [ZEPPELIN-2622] Add Zeppelin Git info REST API ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---