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

Pipeline error with FTP

23brewert I'm New Here May 21, 2020

When I try to save the template for FTP pipeline editor underlines the word script and says do you mean "pipelines" Screenshot (346).png

1 answer

1 accepted

0 votes
Answer accepted

Hi @23brewert ,

Thank you for your question!

The bitbucket-pipelines.yml file defines your Pipelines builds configuration and has some structure. The pipeline configuration file can have multiple sections identified by particular keywords. Please, follow the guide How to configure bitbucket-pipelines.yml.

yml-structure.png


In your case, bitbucket-pipelines.yml can be:

pipelines:
default:
- step:
name: Deploy to ftp
script
: - pipe: atlassian/ftp-deploy:0.3.2 variables: USER: my-ftp-user PASSWORD: $FTP_PASSWORD SERVER: 127.0.0.1 REMOTE_PATH: /tmp/my-remote-directory

More examples provided in the docs for the ftp-deploy pipe.

Also, you can follow the Deploy using SCP guide. 


Cheers,
Alex

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

739 views 0 2
Read article

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