Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 945 Bytes

File metadata and controls

21 lines (18 loc) · 945 Bytes

Bigstep Metalcloud Terraform Jenkins pipeline examples

This repo contains examples on how to execute terraform via jenkins pipelines

Requirements

Setup

To get started do the following:

  • Add global credentials in Jenkins for Metalcloud variables: METALCLOUD_API_KEY, METALCLOUD_USER_EMAIL, METALCLOUD_ENDPOINT and TF_VAR_datacenter Alt text
  • Create a new pipeline in Jenkins
  • Select 'This project is parameterized' check-box and add 2 new parameters (optional step) Alt text
  • Setup the job to pull the repo for the Jenkinsfile (pipeline). Alt text