From dcbf8f1968a2e84b84a996683c810ba03e6d18a6 Mon Sep 17 00:00:00 2001 From: ermisw Date: Tue, 28 Nov 2023 12:50:10 +0100 Subject: [PATCH] added KEPTN Bridge URL as env for passing to other job --- jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkinsfile b/jenkinsfile index 9a8545a..c5b77e9 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -39,9 +39,9 @@ pipeline { sh 'terraform init -backend-config="key=keptn-demo"' sh 'terraform apply -auto-approve' - + script { - env.KEPTN_BRIDGE_URL = "asdsdsd" + env.KEPTN_BRIDGE_URL = sh(returnStdout: true, script: "terraform output -raw Keptn_Bridge_Url").trim() } }