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
7ca3715f
Commit
7ca3715f
authored
Jul 30, 2019
by
Bùi Bá Trường
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
truongbb - test ci
parent
e32620c0
Pipeline
#398
passed with stage
in 11 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
.gitlab-ci.yml
.gitlab-ci.yml
+5
-3
build-test.sh
build-test.sh
+1
-0
No files found.
.gitlab-ci.yml
View file @
7ca3715f
...
@@ -68,10 +68,12 @@ check_quality_gate:
...
@@ -68,10 +68,12 @@ check_quality_gate:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
-
ls
-
chmod +x ./build-test.sh
-
chmod +x ./build-test.sh
-
./build-test.sh quality-gate
-
ls
# - 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
-
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
...
...
build-test.sh
View file @
7ca3715f
...
@@ -57,6 +57,7 @@ sub_quality-gate(){
...
@@ -57,6 +57,7 @@ sub_quality-gate(){
# echo "*******QUALITY GATE PASSED!**********"
# echo "*******QUALITY GATE PASSED!**********"
echo
1
echo
1
fi
fi
exit
0
}
}
sub_build-up
(){
sub_build-up
(){
...
...
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