Browse Source

Added Jenkinsfile

master
devops0776 10 months ago
parent
commit
2e8be45150
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      Jenkinsfile

+ 14
- 0
Jenkinsfile View 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…
Cancel
Save