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
64871b11
Commit
64871b11
authored
Apr 16, 2018
by
wentao.suo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.quantgroup.cn/QA/global-jenkinsfile
parents
dd1b47ad
8b88f60c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
371 deletions
+0
-371
StageBucket.groovy
src/org/qg/docker/StageBucket.groovy
+0
-318
Utils.groovy
src/org/qg/docker/Utils.groovy
+0
-53
No files found.
src/org/qg/docker/StageBucket.groovy
deleted
100644 → 0
View file @
dd1b47ad
This diff is collapsed.
Click to expand it.
src/org/qg/docker/Utils.groovy
deleted
100644 → 0
View file @
dd1b47ad
// src/org/qg/docker/Utils.groovy
package
org.qg.docker
;
def
contextDir
(
workspace
)
{
uuid
=
UUID
.
randomUUID
().
toString
()
contextDir
=
"tmp-context"
return
contextDir
}
def
beautyEcho
(
content
,
type
)
{
red
=
"31"
green
=
"32"
blue
=
"34"
purple
=
"35"
darkgreen
=
"36"
result
=
""
switch
(
type
)
{
case
"info"
:
content
=
" ➢➢➢➢➢ ${content}"
result
=
"\033[${blue}m${content}\033[0m"
break
case
"success"
:
content
=
" ✔✔✔✔✔ ${content}"
result
=
"\033[${green}m${content}\033[0m"
break
case
"fail"
:
content
=
" ✘✘✘✘✘ ${content}"
result
=
"\033[${red}m${content}\033[0m"
break
case
"stage"
:
content
=
" ✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩ ${content} ✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩✩"
result
=
"\033[${purple}m${content}\033[0m"
break
default:
result
=
content
break
}
echo
result
}
def
copyDockerFiles
()
{
}
def
copyConfigFiles
()
{
}
return
this
;
\ 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