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
4525730d
Commit
4525730d
authored
Aug 01, 2019
by
Bùi Bá Trường
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
truongbb - test ci
parent
59f8af91
Pipeline
#493
failed with stages
in 1 minute and 17 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
.gitlab-ci.yml
.gitlab-ci.yml
+0
-6
stop_job.sh
stop_job.sh
+1
-1
No files found.
.gitlab-ci.yml
View file @
4525730d
...
...
@@ -38,7 +38,6 @@ compile:
-
merge_request
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
-
chmod +x ./build-test.sh
-
./build-test.sh compile
...
...
@@ -49,7 +48,6 @@ sonnar_scanner:
-
merge_requests
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
-
chmod +x ./build-test.sh
-
./build-test.sh sonar-scan
...
...
@@ -60,7 +58,6 @@ check_quality_gate:
-
merge_requests
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
-
chmod +x ./build-test.sh
-
export QUALITY_GATE=$(./build-test.sh quality-gate)
-
echo $QUALITY_GATE
...
...
@@ -74,7 +71,6 @@ docker_build:
# - merge_requesttt
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
-
chmod +x ./build-test.sh
-
./build-test.sh docker-build
...
...
@@ -85,7 +81,6 @@ docker_up:
# - merge_request
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
-
chmod +x ./build-test.sh
-
./build-test.sh docker-up
...
...
@@ -96,6 +91,5 @@ docker_push:
# - merge_request
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
-
chmod +x ./build-test.sh
-
./build-test.sh docker-push
\ No newline at end of file
stop_job.sh
View file @
4525730d
...
...
@@ -2,7 +2,7 @@
# stop pipeline if QUALITY GATE is FAIL
if
[[
$QUALITY_GATE
=
0
]]
if
[[
$QUALITY_GATE
=
"NOK"
]]
then
echo
"QUALITY GATE FAILED. CHECK SONAR SCANNER RESULT!"
export
QUALITY_GATE
=
"OK"
...
...
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