Commit 77c335e7 authored by hengwen's avatar hengwen

Activate test in branch job

parent ce38e862
Pipeline #188269 failed with stages
in 6 minutes and 34 seconds
......@@ -50,22 +50,22 @@ branchJobWindowsRestful:
except:
- master
#branchJobLinux:
# tags:
# - docker
# stage: linux
# before_script:
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# script:
# - cd docker
# - ./build.sh
# - ./run_test.sh
# - docker tag rpc-server:latest $CI_REGISTRY_IMAGE:rpc
# - docker tag restful-server:latest $CI_REGISTRY_IMAGE:restful
# - docker push $CI_REGISTRY_IMAGE:rpc
# - docker push $CI_REGISTRY_IMAGE:restful
# except:
# - master
branchJobLinux:
tags:
- docker
stage: linux
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- cd docker
- ./build.sh
- ./run_test.sh
- docker tag rpc-server:latest $CI_REGISTRY_IMAGE:rpc
- docker tag restful-server:latest $CI_REGISTRY_IMAGE:restful
- docker push $CI_REGISTRY_IMAGE:rpc
- docker push $CI_REGISTRY_IMAGE:restful
except:
- master
# build, test and publish docker images
#masterJobLinux:
......
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