Explorar el Código

Added Jenkinsfile

master
J_Hayward hace 8 meses
padre
commit
bf8ba51c98
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4
    1
      Jenkinsfile

+ 4
- 1
Jenkinsfile Ver fichero

@@ -1,9 +1,10 @@
pipeline {
agent any
stages {
stage('Test') {
stage('Init') {
steps {
sh '''export PATH=$PATH:/var/jenkins_home

terraform init'''
}
}
@@ -11,6 +12,7 @@ terraform init'''
stage('Plan') {
steps {
sh '''export PATH=$PATH:/var/jenkins_home

terraform plan'''
}
}
@@ -18,6 +20,7 @@ terraform plan'''
stage('Apply') {
steps {
sh '''export PATH=$PATH:/var/jenkins_home

terraform apply -auto-approve'''
}
}

Cargando…
Cancelar
Guardar