• Stars
    star
    129
  • Rank 277,641 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created about 10 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

API client of Jenkins API written in Go

golang-jenkins

Join the chat at https://gitter.im/yosida95/golang-jenkins

About

This is a API client of Jenkins API written in Go.

Usage

import "github.com/yosida95/golang-jenkins"

Configure authentication and create an instance of the client:

auth := &gojenkins.Auth{
   Username: "[jenkins user name]",
   ApiToken: "[jenkins API token]",
}
jenkins := gojenkins.NewJenkins(auth, "[jenkins instance base url]")

Make calls against the desired resources:

job, err := jenkins.GetJob("[job name]")

License

golang-jenkins is licensed under the MIT LICENSE. See ./LICENSE.