Skip to content

have the environment variable as optional #2104

Answered by Jasha10
dagap asked this question in Q&A
Discussion options

You must be logged in to vote

Please give the following a try:

licence: ${oc.env:SERVER_LICENSE,null}

Note that env is deprecated in favor of oc.env. See the docs on the oc.env resolver.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dagap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants