The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pipeline error with FTP

23brewert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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

TAGS
AUG Leaders

Atlassian Community Events