Commit 20529dc5 authored by Pascal Porta's avatar Pascal Porta

gitlab ci now builds rpc server

parent 3e70fc30
Pipeline #176897 failed with stage
in 8 seconds
......@@ -8,4 +8,5 @@
/target
*.pyc
*.DS_Store
*.iml
\ No newline at end of file
*.iml
/restful/src/main/resources/resources
......@@ -28,31 +28,32 @@ masterJobWindows:
only:
- master
#branchJobWindows:
# stage: windows
# script:
# - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml
# tags:
# - Windows10
# except:
# - 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
branchJobWindows:
stage: windows
script:
# - apt-get update
# - apt-get install -y openjfx
- cd restful
- ./run_test.sh
# - 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
- cd rpc
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml
tags:
- Windows10
except:
- 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
# script:
## - apt-get update
## - apt-get install -y openjfx
# - cd restful
# - ./run_test.sh
## - 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