bitbucket-pipelines.yml 931 B

12345678910111213141516171819202122232425262728293031
  1. image: eclipse-temurin:21.0.1_12-jdk-ubi9-minimal
  2. pipelines:
  3. branches:
  4. develop:
  5. - step:
  6. caches:
  7. - maven
  8. script:
  9. - microdnf install -y git
  10. - git clone --depth=1 https://bitbucket.org/l2jserver/l2j-server-game.git
  11. - cd l2j-server-game
  12. - /bin/sh mvnw clean install -DskipTests -Ddependency-check.skip=true
  13. - cd ..
  14. - step:
  15. caches:
  16. - maven
  17. script:
  18. - /bin/sh mvnw clean install
  19. artifacts:
  20. - target/*.zip
  21. - step:
  22. deployment: Production
  23. script:
  24. - pipe: atlassian/ftp-deploy:0.6.0
  25. variables:
  26. USER: $FTP_USER
  27. PASSWORD: $FTP_PASSWORD
  28. SERVER: $FTP_HOST
  29. REMOTE_PATH: $FTP_REMOTE_PATH
  30. LOCAL_PATH: target/