From c8b8509967d2220c3598998baf6d5f91ffd5b89a Mon Sep 17 00:00:00 2001 From: Nana Janashia Date: Sat, 19 Dec 2020 10:59:34 +0100 Subject: [PATCH] fix syntax --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }