https://github.com/cppforlife/checkman_jenkins_proxy
Experimenting with Jenkins pushes
https://github.com/cppforlife/checkman_jenkins_proxy
Last synced: 3 months ago
JSON representation
Experimenting with Jenkins pushes
- Host: GitHub
- URL: https://github.com/cppforlife/checkman_jenkins_proxy
- Owner: cppforlife
- Created: 2013-10-26T01:49:00.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-31T06:02:23.000Z (over 12 years ago)
- Last Synced: 2025-01-02T09:25:32.529Z (about 1 year ago)
- Language: Go
- Size: 133 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/cppforlife/checkman_jenkins_proxy)
## Server
Toy KV store (currently must run as a single instance).
For Checkman: used to serve data exported from Jenkins.
```
cd server/
go build
chmod +x ./server
./server -h
```
```
curl -X GET http://localhost:8889/key
404 Not Found
curl -X PUT http://localhost:8889/key -d 'something'
curl -X GET http://localhost:8889/key
something
# ...expires after 30s by default...
curl -X GET http://localhost:8889/key
404 Not Found
```
## Exporter
Periodically fetches content from given url
and uploads it to another given url.
For Checkman: run this on your Jenkins machine and
let it fetch and export build data from Jenkins api.
```
cd exporter/
go build
chmod +x ./exporter
./exporter -h
```
```
./exporter -fetcher-endpoint "http://local-jenkins/api/json?depth=2" -store-key something
```
## Misc
```
while true; do nc -l 8080 < spec/simple.html; done
```