Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Generate artifact (jar) and deploy it to FTP Server

Edited

Hello all! Is there a way to build and move artifacts (Java, Spring Boot Application) to a FTP server. I use Maven for the builds and gerante my jar via "clean package -Pproduction".

I found out that via SFTP it is maybe possible to reach this goal. Something like this:

https://stackoverflow.com/questions/67519816/sftp-deployment-using-bitbucket-pipeline-yml-of-react-build

1 answer

@Thomas Kiesl  hi. Thanks for your question. Good example of using sftp-deploy but you need specify which files you want to upload:

- pipe: atlassian/ftp-deploy:0.3.6
  variables:
    USER: $USER
    SERVER: $SERVER
    PASSWORD: $PASSWORD
    REMOTE_PATH: $REMOTE_PATH
LOCAL_PATH: build

Maybe this will be useful too: maven build template

Regards, Igor

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Wouldn't it be nice to have this Jira-Confluence integration?

...ossibility became true in a not too far future, project/space access would be left in the hands of all team members. Don't get me wrong: I'd love it! However, it would also be nice to have a way in which j...

59 views 0 1
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