Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
global-jenkinsfile
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
global-jenkinsfile
Commits
0b3435ea
Commit
0b3435ea
authored
May 24, 2018
by
wentao.suo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fff
parent
11380bb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SonarStageBucket.groovy
src/org/qg/ci/SonarStageBucket.groovy
+0
-0
qgCiSonar.groovy
vars/qgCiSonar.groovy
+2
-2
No files found.
src/org/qg/ci/StageBucket.groovy
→
src/org/qg/ci/S
onarS
tageBucket.groovy
View file @
0b3435ea
File moved
vars/qgCiSonar.groovy
View file @
0b3435ea
def
call
(
body
)
{
def
call
(
body
)
{
def
_stage
=
new
org
.
qg
.
ci
.
StageBucket
()
def
_stage
=
new
org
.
qg
.
ci
.
S
onarS
tageBucket
()
def
_utils
=
new
org
.
qg
.
docker_new
.
Utils
()
def
_utils
=
new
org
.
qg
.
docker_new
.
Utils
()
def
env
=
body
.
env
def
env
=
body
.
env
def
GIT_REPO_SSH_URL
=
env
.
GIT_REPO_SSH_URL
def
GIT_REPO_SSH_URL
=
env
.
GIT_REPO_SSH_URL
...
@@ -35,7 +35,7 @@ echo "\033[32m############################################\n\
...
@@ -35,7 +35,7 @@ echo "\033[32m############################################\n\
currentPath
=
sh
(
script:
'pwd'
,
returnStdout:
true
).
trim
()
currentPath
=
sh
(
script:
'pwd'
,
returnStdout:
true
).
trim
()
stage
(
"SonarQube Quality Gate"
){
stage
(
"SonarQube Quality Gate"
){
_stage
.
sonaar_check
(
GIT_REPO_NAME
,
GIT_BRANCH
_HASH
,
currentPath
)
_stage
.
sonaar_check
(
GIT_REPO_NAME
,
GIT_BRANCH
,
currentPath
)
}
}
stage
(
"callback"
){
stage
(
"callback"
){
...
...
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