jenkins-couch-link

command module
v0.0.0-...-701eed9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 10 Imported by: 0

README

Program to upload Jenkins build info that has been analysed up to CouchDB

To build

go build

Setup

Ensure there is a DB and user for the program to use. Creating the DB can be done easily from the /_util page. Creating a user can be done by using something like the setup.sh script doing a curl.

To use

./jenkins-couch-link -user jenkins -password somepassword -host 192.168.128.2 builds.json

Note that documents can only be inserted, it won't update existing builds in the database.

This is designed to be used with json produced by the https://github.com/colinnewell/jenkins-queue-health project.

A full flow might go something like:

jenkins-queue-health -url https://jenkins -project gerrit -user uname -password apitoken |
    jenkins-queue-health-analysis |
    ./jenkins-couch-link

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL