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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket pipeline error - fatal: Could not upload files., exiting

The deployment via FTP keeps breaking when uploading dist folder.

Here' my bitbucket-pipelines.yml

 

- step:
    name: 'Deployment to Production'
    size: 2x
    deployment: production
    trigger: 'manual'
    script:
      - apt-get update
      - apt-get -qq install git-ftp
      - git ftp init --auto-init --insecure --user $FTP_USER--passwd $FTP_PASS ftpes://ftp.domain.dev/public_html/wp-content/themes/test --all

 

and in my .git-ftp-include I have excluded dist folder

 

!dist/

 

But whenever the it's uploading the dist folder, I keep getting this error

 

[108 of 109] Buffered for upload 'yarn.lock'.
[109 of 109] Buffered for upload 'dist/'.
Uploading ...
fatal: Could not upload files., exiting...

 

Is it due to the size? I have doubled the size in the .YML file. I'm not sure what am I missing.

 

1 answer

0 votes

use .git-ftp-ignore to ignore some file or folder....

this will ignore the file and folder when uploading to the server via ftp

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you