bitbucket-pipelines.yml 576 B

12345678910111213141516171819202122
  1. image: openjdk:14-alpine
  2. pipelines:
  3. branches:
  4. develop:
  5. - step:
  6. caches:
  7. - maven
  8. script:
  9. - /bin/sh mvnw clean install
  10. artifacts:
  11. - target/*.zip
  12. - step:
  13. deployment: Production
  14. script:
  15. - pipe: atlassian/ftp-deploy:0.2.3
  16. variables:
  17. USER: $FTP_USER
  18. PASSWORD: $FTP_PASSWORD
  19. SERVER: $FTP_HOST
  20. REMOTE_PATH: $FTP_REMOTE_PATH
  21. LOCAL_PATH: 'target/'