Baffled. My pipeline builds, I commit a change, the change is committed to source, both locally and in the cloud and shows no error in the pipeline log. But the file does not change on the remote server. It is an ftp connection to my remote file server. There are no errors anywhere, except the file on the remote ftp server does not change.
What is stranger is that I have a twin setup in the same account, different repo, committing changes on another pipeline to a different directory on the remote server and a different directory on my local machine, with identical files and permissions, and that one works.
The only difference between the two setups is therefore the ftp password, the local directories, which sit side by side, and the repo on bitbucket cloud, which are in the same account. Any ideas?
I was thinking there might be a permissions issue, but both the files on the remote ftp server are identical and have the same permissions. I tried setting a file to 755 but it still did not change. Both ftp connections have been tested in FileZilla and respond in the same way - I can edit the files in FileZilla.
Fixed!!!! Thanks to some other threads on GIT
This is what I needed to do.
1. I changed my yaml file from saying "git ftp push" to "git ftp push --force"
2. Commit and let it rebuild. It will force send all your files (I think all you changed files only as it was very fast) to the remote server.
3. Set the yaml file back to "git ftp push".
I think it happened when I copied my files form one repo to another, some traces got brought with.
Some clues: - I see this in the detail of the log, even though the main log is marked ""successful"
+ git ftp push -u xxxxxxx -p xxxxxxx
cloud9xxxxxxxx.net/portal/portalpublic Unknown SHA1 object, make sure you are deploying the right branch and it is up-to-date.Do you want to ignore and upload all files again? [y/N]: Aborting...
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events