Skip to content
Snippets Groups Projects
Commit 3e70e01c authored by Zoey76's avatar Zoey76
Browse files

Adding deployment pipeline

parent e6af00f8
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:
default:
- step:
script:
- mvn -version
\ No newline at end of file
branches:
develop:
- step:
caches:
- 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