Closed binkley closed 7 years ago
Easy peasy:
$ jurlq localhost:8080/info
HTTP/1.1 200
X-Application-Context: Bob
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Date: Thu, 15 Dec 2016 15:15:42 GMT
{
"git": {
"commit": {
"time": 1481810953000,
"id": "2e75ff4"
},
"branch": "master"
}
}
See http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-git-info