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
3421c981
Commit
3421c981
authored
Jul 30, 2019
by
Bùi Bá Trường
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
truongbb - test ci
parent
7ca3715f
Pipeline
#399
passed with stage
in 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
.gitlab-ci.yml
.gitlab-ci.yml
+4
-4
build-test.sh
build-test.sh
+0
-1
No files found.
.gitlab-ci.yml
View file @
3421c981
...
@@ -68,11 +68,11 @@ check_quality_gate:
...
@@ -68,11 +68,11 @@ 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
-
exit
0
-
ls
# - if [[ $QUALITY_GATE = 0 ]] then exit 0 fi
# - if [[ $QUALITY_GATE = 0 ]] then exit 0 fi
#build_up:
#build_up:
...
...
build-test.sh
View file @
3421c981
...
@@ -57,7 +57,6 @@ sub_quality-gate(){
...
@@ -57,7 +57,6 @@ 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