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

Pipeline error with FTP

23brewert 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
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 22, 2020

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
AUG Leaders

Atlassian Community Events