test terraform

master
ermisw 2023-10-02 17:53:19 +02:00
parent 5650cb2b76
commit 8b9e0ce87a
1 changed files with 6 additions and 7 deletions

13
Jenkinsfile vendored
View File

@ -6,16 +6,15 @@ pipeline {
// //KUBECONFIG = credentials('kubernetes-config') // //KUBECONFIG = credentials('kubernetes-config')
// } // }
stages { stages {
stage('Checkout') { // stage('Checkout') {
steps { // steps {
git 'https://gitea.nttdata-xlabs.com/wiegee/TestJenkins.git' // git 'https://gitea.nttdata-xlabs.com/wiegee/TestJenkins.git'
} // }
} // }
stage('TF Plan') { stage('TF Plan') {
steps { steps {
container('terraform') { container('terraform') {
sh 'terraform init' sh 'terraform version'
sh 'terraform plan -out myplan'
} }
} }
} }