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
@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<br><span> LOCAL_PATH</span><span>:</span> <span>build</span>
Maybe this will be useful too: maven build template
Regards, Igor
It looks like you're new here. Sign in or register to get started.