You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/mcqueenorama/check_jenkins_queue

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mcqueenorama/check_jenkins_queue

v0.0.0-20141121170522-2aa63bb078dc
Source
Go
Version published
Created
Source

Nagios check for the Jenkins Queue in Go.

Usage of ./check_jenkins_queue:
  -c=20: critical level for job queue depth
  -h="http://ci.walmartlabs.com/jenkins": base url for jenkins  like http://ci.walmartlabs.com/jenkins
  -v=false: verbose output
  -w=10: warning level for job queue depth

Build it:

go build

or:

go build check_jenkins_queue.go

Docker:

Build it in docker for another platform:

docker run -it -v /Users:/Users -w pwd google/golang go build check_jenkins_queue.go

Jenkins API:

The Jenkins API seems to be poorly documented.

Access the Jenkins API:

curl -v http://ci.walmartlabs.com/jenkins/queue/api/json|json_pp

FAQs

Package last updated on 21 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts