Open bnfbiz opened 2 years ago
@bnfbiz The bug comes from the actual API call to the Keyvault. Underscores are not valid query parameter characters in the AKV API. Try this with a hyphen.
@CzapBran but this variable doesn't need to come from Azure it could come from the environment. In this case since it isn't from Azure it should not cause an error and allow the expansion to happen correctly.
It should be set to tf-v0.14
as in the example from above:
"${IMAGE_TAG:-tf-v0.14}"
Version report
Jenkins and plugins versions report:
Reproduction steps
NOTE: The ":-" for setting a default
Results
Expected result:
In the example above the environment variable MYTAG would be set with the value "tf-v0.14" as "IMAGE_TAG is not set via the environment or via Azure Key Vault
Actual result:
Jenkins stops with a java stack trace that contains: