cf-java-client
cf-java-client copied to clipboard
Filter Source Control Directories During Push
Currently, nothing is automatically filtered from an application when it is pushed. This diverges from the CLI’s behavior which filters out source control directories and possibly all hidden directories. The CLI team has taken a task to document the behavior they’d like to support as a contract and once that documentation is in place, the Client should implement the same filtering.
/cc @dkoper
I was wrong on the hidden directories. We only automatically ignore what's been documented: https://docs.cloudfoundry.org/devguide/deploy-apps/prepare-to-deploy.html#exclude
Thanks for the pointer @dkoper.
Related to #330
Hi team,
As I've written, I would like to know the status of this issue.
Has source control directories filter been implemented in cf-java-client or not?
hi ,
is there any workaround solution available for this issue??
I also experience this issue. My workaround looks like this (in my Jenkinsfile):
steps {
sh 'rm -rf .git'
pushToCloudFoundry( ...
It is also imaginable to to "chmod -R +r .git" instead. Because of #810 and #330 still being open I don't see any cleaner approach for this.
Excellent , the above solution worked