fix syntax
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -46,7 +46,7 @@ pipeline {
|
|||||||
sh "terraform init"
|
sh "terraform init"
|
||||||
sh "terraform apply --auto-approve"
|
sh "terraform apply --auto-approve"
|
||||||
EC2_PUBLIC_IP = sh(
|
EC2_PUBLIC_IP = sh(
|
||||||
script: "terraform output ec2_public_ip"
|
script: "terraform output ec2_public_ip",
|
||||||
returnStdout: true
|
returnStdout: true
|
||||||
).trim()
|
).trim()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user