Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Cannot get variables of configuration triggered via REST API #11

hoabka ·

Hello everyone,
I setup a configuration on our QB. I triggered this configuration via REST API.
However when the configuration is run, I cannot get the variables transfered via REST API, eventhought these variables already exits in my configuration logs.
My steps:

#!/bin/bash
env=${vars.get("env")}
region=${vars.get("region")}
IP=${vars.get("IP")}
hostname=${vars.get("hostname")}
echo "$env  $region  $IP  $hostname  $keypair"

Variables in the Build logs.
Capture.PNG

  • replies 1
  • views 441
  • stars 0
hoabka ·

I missed the one variable named: $keypair. I fixed