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:
@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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.