Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I'm getting an error while running pipeline "fatal: Commit found,use 'git FTP push' to sync"

abidmaqbool April 27, 2022

fatal: Commit found, use 'git FTP push' to sync.

 

bitbucket-pipelines.yml

 

script:
- echo "Your deployment to production script goes here..."
- apt-get update
- apt-get -qq install git-ftp
- git ftp init -u $FTP_USERNAME -p $FTP_PASSWORD $FTP_URL
I'm stuck on this error for 3 days. Please help

 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 29, 2022

G'day!

Welcome to the Bitbucket Cloud community!

Can you please try to add the following line to your bitbucket-pipelines.yml file temporarily and then run the step manually from Repository > Pipelines > Run Pipeline ?

script:
- git ftp push

You can then edit the bitbucket-pipelines.yml file to remove this line if it executes successfully.

If this still does not work, please try to increase your clone depth if you have specified this depth manually, ignore this step if you have not set this manually.

Please let me know if this is successful, if not - we will need to create a ticket on your behalf so that you can share sensitive information that will assist us with this investigation further.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events