Commit afb27272 authored by Bùi Bá Trường's avatar Bùi Bá Trường

truongbb - test ci

parent c497c40a
Pipeline #467 passed with stages
in 2 minutes and 19 seconds
...@@ -82,7 +82,7 @@ dokcer_build: ...@@ -82,7 +82,7 @@ dokcer_build:
- ls - ls
- chmod +x ./build-test.sh - chmod +x ./build-test.sh
- ./build-test.sh docker-build - ./build-test.sh docker-build
#- ./build-test.sh docker-up - ./build-test.sh docker-up
- ./build-test.sh docker-push - ./build-test.sh docker-push
send_email: send_email:
......
...@@ -22,17 +22,19 @@ sub_help(){ ...@@ -22,17 +22,19 @@ sub_help(){
} }
sub_checkout(){ sub_checkout(){
cd /root/GitlabRunner/repo/ # cd /root/GitlabRunner/repo/
ls # ls
rm -rf ./spring-ci-advanced # rm -rf ./spring-ci-advanced
git config --global user.name 'truongbb96' # git config --global user.name 'truongbb96'
git config --global user.email 'truongbb@itsol.vn' # git config --global user.email 'truongbb@itsol.vn'
git clone https://truongbb96:hoanghuynh0801@git.myitsol.com/truongbb96/spring-ci-advanced.git # git clone https://truongbb96:hoanghuynh0801@git.myitsol.com/truongbb96/spring-ci-advanced.git
cd ./spring-ci-advanced # cd ./spring-ci-advanced
cd /root/GitlabRunner/repo/spring-ci-advanced
git checkout
git pull
} }
sub_compile(){ sub_compile(){
# mvn install
_docker_mvn compile -DskipTests _docker_mvn compile -DskipTests
} }
......
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