jenkins

command
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

Jenkins pond

Metrics

Metric Name Description
Build Count The number of builds created
Build Success Rate The percentage of successful builds

Configuration

In your .env file, you will need to set up

# Jenkins configuration
JENKINS_ENDPOINT=https://jenkins.merico.cn/
JENKINS_USERNAME=your user name here
JENKINS_PASSWORD=your password or jenkins token here

You can generate access token at User -> Configure -> API Token section.

Gathering data with jenkins

To collect data, you can make a POST request to /task

curl --location --request POST 'localhost:8080/task' \
  --header 'Content-Type: application/json' \
  --data-raw '[[{
      "plugin": "jenkins",
      "options": {}
  }]]'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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