added KEPTN Bridge URL as env for passing to other job

main
ermisw 2023-11-28 12:50:10 +01:00
parent be2c1a32cf
commit dcbf8f1968
1 changed files with 2 additions and 2 deletions

View File

@ -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()
}
}