Terms of Service | Privacy Policy | Cookie Policy

Verified Commit e8b6ee91 authored by Uwe Plonus's avatar Uwe Plonus

Added .gitlab-ci.yml

parent 4af278a8
image: registry.sw4j.net/sw4j-net/jdk8-maven3:latest
stages:
- build
- deploy
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
build:
stage: build
script:
- mvn $MAVEN_CLI_OPTS clean install
deploy:
stage: deploy
only:
refs:
- master@sw4j-org/maven-parent
variables:
- $REPO_USER
script:
- mvn $MAVEN_CLI_OPTS deploy
pages:
stage: deploy
only:
refs:
- master
script:
- mvn site post-site
- mv target/staging public
artifacts:
paths:
- public
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment