Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julian-eggers/spring-jenkins-actuator
SpringBoot Jenkins Actuator
https://github.com/julian-eggers/spring-jenkins-actuator
actuator health-check java jenkins prometheus spring spring-boot
Last synced: about 1 month ago
JSON representation
SpringBoot Jenkins Actuator
- Host: GitHub
- URL: https://github.com/julian-eggers/spring-jenkins-actuator
- Owner: julian-eggers
- License: mit
- Created: 2016-02-07T11:03:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-07-23T04:15:51.000Z (over 3 years ago)
- Last Synced: 2024-12-01T15:37:49.189Z (about 2 months ago)
- Topics: actuator, health-check, java, jenkins, prometheus, spring, spring-boot
- Language: Java
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
spring-jenkins-actuator
=======================[![Maven Central](https://img.shields.io/maven-metadata/v/http/central.maven.org/maven2/com/itelg/spring/spring-jenkins-actuator/maven-metadata.xml.svg)](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.itelg.spring%22%20AND%20a%3A%22spring-jenkins-actuator%22)
[![Codacy Badge](https://api.codacy.com/project/badge/grade/2a49d5565df7457697072dc5b1cdc5be)](https://www.codacy.com/app/eggers-julian/spring-jenkins-actuator)
[![Coverage Status](https://coveralls.io/repos/julian-eggers/spring-jenkins-actuator/badge.svg?branch=master&service=github)](https://coveralls.io/github/julian-eggers/spring-jenkins-actuator?branch=master)
[![Build Status](https://travis-ci.org/julian-eggers/spring-jenkins-actuator.svg?branch=master)](https://travis-ci.org/julian-eggers/spring-jenkins-actuator)SpringBoot Jenkins Actuator
#### Maven
```xmlcom.itelg.spring
spring-jenkins-actuator
1.0.2-RELEASE```
#### Example
```java
@Bean
public HealthIndicator jenkinsHealthIndicator()
{
return new JenkinsHealthIndicator("http://jenkins.com");
}@Bean
public HealthIndicator jenkinsHealthIndicator()
{
return new JenkinsHealthIndicator("http://jenkins.com", "admin", "secretPassword");
}
```#### Response ([health.json](http://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-endpoints.html#production-ready-health))
```json
{
"status" : "UP",
"jenkins" :
{
"status" : "UP",
"version" : "2.42"
}
}
```## Build & Release
### Build
```
mvn clean package
```### Release
```
mvn clean deploy
```