Skip to content

Commit

Permalink
Merge pull request #8 from pahmadi8740/PA
Browse files Browse the repository at this point in the history
fix: added a new stage
  • Loading branch information
pahmadi8740 authored Apr 30, 2021
2 parents bb9ddf3 + b564afd commit c86f173
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions aws/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
pipeline {
options {
timestamps()
skipDefaultCheckout()
}
agent {label 'slave'}
parameters {
password (name: 'AWS_ACCESS_KEY_ID')
password (name: 'AWS_SECRET_ACCESS_KEY')
Expand All @@ -10,6 +15,12 @@ pipeline {
AWS_SECRET_ACCESS_KEY = "${params.AWS_SECRET_ACCESS_KEY}"
}
stages {
stage('Checkout script') {
steps {
cleanWs()
checkout scm
}
}
stage('Terraform Init') {
steps {
sh "${env.TERRAFORM_HOME}/terraform init -input=false"
Expand Down

0 comments on commit c86f173

Please sign in to comment.