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