image: eclipse-temurin:21.0.1_12-jdk-ubi9-minimal pipelines: branches: develop: - step: caches: - maven script: - microdnf install -y git - git clone --depth=1 https://bitbucket.org/l2jserver/l2j-server-game.git - cd l2j-server-game - /bin/sh mvnw clean install -DskipTests -Ddependency-check.skip=true - cd .. - step: caches: - maven script: - /bin/sh mvnw clean install artifacts: - target/*.zip - step: deployment: Production script: - pipe: atlassian/ftp-deploy:0.6.0 variables: USER: $FTP_USER PASSWORD: $FTP_PASSWORD SERVER: $FTP_HOST REMOTE_PATH: $FTP_REMOTE_PATH LOCAL_PATH: target/