0
votes

I am using the udeploy cloudfoundry plugin to push applications to cloudfoundry

How can I set the enviornment variables in cloud foundry from udeploy

1

1 Answers

0
votes

Environment variables can be set in your cloud foundry manifest file, manifest.yml using the env: block. For example:

env:
  http_proxy: http://proxy.example.com:8080
applications:
...

If the value of the environment variable is dynamic, you can use a token:

env:
  http_proxy: @PROXY_SERVER_PORT@
applications:
...

And use a "replace tokens in manifest file" step in your Urban Code deploy flow.