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
0ec339b8
Commit
0ec339b8
authored
Jul 30, 2019
by
Bùi Bá Trường
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
truongbb - test ci
parent
3421c981
Pipeline
#400
failed with stages
in 10 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
.gitlab-ci.yml
.gitlab-ci.yml
+23
-23
No files found.
.gitlab-ci.yml
View file @
0ec339b8
...
@@ -20,8 +20,8 @@ stages:
...
@@ -20,8 +20,8 @@ stages:
# - compile
# - compile
# - sonnar_scanner
# - sonnar_scanner
-
check_quality_gate
-
check_quality_gate
#
- build_up # for merge request
-
build_up
# for merge request
#
- send_email
-
send_email
#checkout:
#checkout:
# stage: checkout
# stage: checkout
...
@@ -71,27 +71,27 @@ check_quality_gate:
...
@@ -71,27 +71,27 @@ check_quality_gate:
# - export QUALITY_GATE=$(./build-test.sh quality-gate)
# - export QUALITY_GATE=$(./build-test.sh quality-gate)
-
export QUALITY_GATE=0
-
export QUALITY_GATE=0
-
echo $QUALITY_GATE
-
echo $QUALITY_GATE
-
exit
0
-
exit
-1
-
ls
-
ls
# - if [[ $QUALITY_GATE = 0 ]] then exit 0 fi
# - if [[ $QUALITY_GATE = 0 ]] then exit 0 fi
#build_up:
build_up
:
# stage: build_up
stage
:
build_up
# only:
only
:
# # - master
# - master
# - merge_requests
-
merge_requests
# script:
script
:
# - cd /root/GitlabRunner/repo/spring-ci-advanced
-
cd /root/GitlabRunner/repo/spring-ci-advanced
# - ls
-
ls
#
#send_email:
send_email
:
# stage: send_email
stage
:
send_email
# only:
only
:
# - master
-
master
# # - merge_requests
# - merge_requests
# script:
script
:
# - curl --request POST
-
curl --request POST
# --url https://api.sendgrid.com/v3/mail/send
--url https://api.sendgrid.com/v3/mail/send
# --header 'Authorization:Bearer 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'
--header 'Authorization:Bearer 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'
# --header 'Content-Type:application/json'
--header 'Content-Type:application/json'
# --data '{"personalizations":[{"to":[{"email":"truongbb96@gmail.com"}]}],"from":{"email":"truongbb@itsol.vn"},"subject":"CI pipeline result","content":[{"type":"text/plain","value":"CI pipeline done!"}]}'
--data '{"personalizations":[{"to":[{"email":"truongbb96@gmail.com"}]}],"from":{"email":"truongbb@itsol.vn"},"subject":"CI pipeline result","content":[{"type":"text/plain","value":"CI pipeline done!"}]}'
\ No newline at end of file
\ No newline at end of file
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