microsoft / vsts-cloudfoundry

Azure DevOps Extension for Cloud Foundry
MIT License
20 stars 23 forks source link

Allow cf options to be passed to the CLI #39

Closed jeanmarc closed 3 years ago

jeanmarc commented 3 years ago

The Cloud Foundry CLI task does not allow passing (global) options to the cf command, which makes it harder to debug stuff. For instance, we want to see the results of cf CF_TRACE=true bgd, but I see no way to provide this CF_TRACE=true flag. Is it possible to add this to a future version of the Cloud Foundry CLI plugin?

mozts2005 commented 3 years ago

CF_TRACE can also be enabled as an environment variable.

variables:
- name: CF_TRACE
  value: true 
jeanmarc commented 3 years ago

Thanks for that workaround, it should be sufficient for our usecase.