Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spring-ci-advanced
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bùi Bá Trường
spring-ci-advanced
Commits
afb27272
Commit
afb27272
authored
Aug 01, 2019
by
Bùi Bá Trường
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
truongbb - test ci
parent
c497c40a
Pipeline
#467
passed with stages
in 2 minutes and 19 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
build-test.sh
build-test.sh
+10
-8
No files found.
.gitlab-ci.yml
View file @
afb27272
...
@@ -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
:
...
...
build-test.sh
View file @
afb27272
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment