Browse Source

Added Jenkinsfile

master
devops0776 10 months ago
parent
commit
a6d37bfde3
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      Jenkinsfile

+ 7
- 0
Jenkinsfile View File

@@ -22,5 +22,12 @@ terraform apply -auto-approve'''
}
}

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

}
}

Loading…
Cancel
Save