Skip to content

mariusv/terraform-jnlp-slave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

Jenkins jnlp slave with terraform

Docker Repository on Quay

Usage

This repository automatically builds containers for using the terraform command line program. It contains the latest terraform version.

From the shell

docker run -i -t mariusv/terraform-jnlp-slave:0.11.5 <command>

From Jenkins pipeline

pipeline {
  agent none
  stages {
    stage('terraform Version') {
    agent {label 'tf-slave'}
      steps {
        sh "terraform version"
      }
    }
  }
}

The above example is used with Kubernetes plugin and it assumes you already created a new pod template labeled in this example tf-slave.

About

jenkins jnlp-slave with terraform on it

Resources

Stars

Watchers

Forks

Packages

No packages published