Sfoglia il codice sorgente

Added Jenkinsfile

master
devops0776 1 anno fa
parent
commit
2e8be45150
1 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  1. 14
    0
      Jenkinsfile

+ 14
- 0
Jenkinsfile Vedi File

@@ -8,5 +8,19 @@ terraform init'''
}
}

stage('Plan') {
steps {
sh '''export PATH=$PATH:/var/jenkins_home
terraform plan'''
}
}

stage('Apply') {
steps {
sh '''export PATH=$PATH:/var/jenkins_home
terraform apply -auto-approve'''
}
}

}
}

Loading…
Annulla
Salva