Skip to content
Snippets Groups Projects
Commit 37a7967a authored by Zoey76's avatar Zoey76
Browse files

Adding deployment pipeline

parent a019f033
No related branches found
No related tags found
No related merge requests found
image: maven:3.6.0-jdk-11-slim image: maven:3.6.3-jdk-11-slim
pipelines: pipelines:
default: branches:
- step: develop:
script: - step:
- mvn -version caches:
\ No newline at end of file - maven
script:
- apt-get update -y
- apt-get install -y git
- git clone --depth=1 https://bitbucket.org/l2jserver/l2j-server-game.git
- cd l2j-server-game
- mvn install -DskipTests
- cd ..
- step:
caches:
- maven
script:
- mvn install
artifacts:
- target/*.zip
- step:
deployment: Production
script:
- pipe: atlassian/ftp-deploy:0.2.3
variables:
USER: $FTP_USER
PASSWORD: $FTP_PASSWORD
SERVER: $FTP_HOST
REMOTE_PATH: $FTP_REMOTE_PATH
LOCAL_PATH: 'target/'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment