Skip to content
This repository has been archived by the owner on Jul 24, 2022. It is now read-only.

overmike/terraform-provider-jenkins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Provider

Unit Tests Acceptance Tests codecov

This is a community provider and is not supported by Hashicorp.

Requirements

  • Terraform 0.12+
  • Go 1.11+ (to build the provider plugin)

Installation

Install the provider with:

go install github.com/taiidani/terraform-provider-jenkins

Then copy or link the resulting binary to your terraform.d plugins folder. On macOS this might look like:

ln -s "$(go env GOPATH)/bin/terraform-provider-jenkins" "$HOME/.terraform.d/plugins/terraform-provider-jenkins"

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

In order to test the provider, you can simply run make test.

$ make test

In order to run the full suite of Acceptance tests, run make testacc. These tests require Docker to be installed on the machine that runs them, and do not create any remote resources.

$ make testacc

Attribution

This provider design was originally inspired from the work at dihedron/terraform-provider-jenkins.

Packages

No packages published

Languages

  • Go 90.7%
  • HCL 5.8%
  • Makefile 2.9%
  • Dockerfile 0.6%