bitbucket-pipelines.yml 530 B

123456789101112131415161718192021
  1. image: eclipse-temurin:21.0.1_12-jdk-ubi9-minimal
  2. pipelines:
  3. default:
  4. - step:
  5. caches:
  6. - maven
  7. script:
  8. - /bin/sh mvnw clean install
  9. artifacts:
  10. - target/*.zip
  11. - step:
  12. deployment: Production
  13. script:
  14. - pipe: atlassian/ftp-deploy:0.6.0
  15. variables:
  16. USER: $FTP_USER
  17. PASSWORD: $FTP_PASSWORD
  18. SERVER: $FTP_HOST
  19. REMOTE_PATH: $FTP_REMOTE_PATH
  20. LOCAL_PATH: target/