I am getting the same error that a lot of people seemingly get for example: How to fix "The Resource file mode is invalid" on Cloud Foundry
The error is below.
The resource file mode is invalid: File mode '444' with path '.git/objects/pack/pack-6baf78b914aeacf64179d19a0f4aeb9edd1143e3.pack' is invalid. Minimum file mode is '0600'
I have not found a fix or a workaround for pushing to CF from Jenkins for this issue. The file mode on my machine is already at 777 as you can see here:
#:/**PATH/.git/objects/pack$ stat --format '%a' pack-6baf78b914aeacf64179d19a0f4aeb9edd1143e3.pack 777
I have also added a .cfignore, but that doesn't do anything. I also cannot download the CF CLI because I only have a windows machine.
Is there any way else around this?