Commit 64afe266 authored by hengwen's avatar hengwen

Configure test

parent 2e30ea58
......@@ -56,15 +56,21 @@ branchJobWindows:
- master
BranchJobLinux:
tags:
- docker
stage: linux
image: maven:3-jdk-8
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- apt-get update
- apt-get install -y openjfx
script:
- cd restful
- ./run_test.sh
- cat target/site/jacoco/index.html
# - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml
# - docker tag rmi-server:latest $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
# - docker tag rmi-server:latest $CI_REGISTRY_IMAGE:latest
# - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
# - docker push $CI_REGISTRY_IMAGE:latest
# - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml
except:
- master
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