Skip to content

Commit 6598a2b

Browse files
committed
added jenkins inegration with terraform
1 parent ef9ef5d commit 6598a2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aws-instance-first-script/Jenkinsfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
script {
88
dir("ta-setup")
99
{
10+
git branch: 'tf-jenkins', url: 'https://github.com/easyawslearn/Terraform-Tutorial.git'
11+
sh 'cd EC2withJenkins '
1012
sh './terraform init -upgrade=true -get=true -input=false -force-copy'
1113
sh './terraform workspace new "terraform-demo"'
1214
sh 'echo "INFO: New terraform-demo workspace added."'

0 commit comments

Comments
 (0)