diff --git a/Jenkinsfile b/Jenkinsfile index f617e13..5e689f5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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() }