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
b2c6f49a
Commit
b2c6f49a
authored
Aug 01, 2019
by
Bùi Bá Trường
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
5b436c07
Pipeline
#475
failed with stages
in 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
.gitlab-ci.yml
.gitlab-ci.yml
+11
-11
build-test.sh
build-test.sh
+3
-3
No files found.
.gitlab-ci.yml
View file @
b2c6f49a
...
...
@@ -20,7 +20,7 @@ stages:
-
docker_build
-
docker_up
-
docker_push
-
send_email
#
- send_email
checkout_code
:
stage
:
checkout_code
...
...
@@ -101,13 +101,13 @@ docker_push:
-
chmod +x ./build-test.sh
-
./build-test.sh docker-push
send_email
:
stage
:
send_email
only
:
-
master
-
merge_requests
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
-
chmod +x ./build-test.sh
-
./build-test.sh send-email
\ No newline at end of file
#send_email:
# stage: send_email
# only:
# - master
# - merge_requests
# script:
# - cd /root/GitlabRunner/repo/spring-ci-advanced
# - ls
# - chmod +x ./build-test.sh
# - ./build-test.sh send-email
\ No newline at end of file
build-test.sh
View file @
b2c6f49a
...
...
@@ -64,7 +64,7 @@ sub_quality-gate(){
}
sub_docker-build
(){
if
[[
-d
'
commons/
target'
]]
if
[[
-d
'target'
]]
then
echo
"Already packaged!"
else
...
...
@@ -75,7 +75,7 @@ sub_docker-build(){
}
sub_docker-up
(){
if
[[
-d
'
commons/
target'
]]
if
[[
-d
'target'
]]
then
echo
"Already packaged!"
else
...
...
@@ -87,7 +87,7 @@ sub_docker-up(){
}
sub_docker-push
(){
if
[[
-d
'
commons/
target'
]]
if
[[
-d
'target'
]]
then
echo
"Already packaged!"
else
...
...
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