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
f5c1283b
Commit
f5c1283b
authored
Apr 10, 2018
by
wentao.suo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d846226c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
StageBucket.groovy
src/org/qg/docker_new/StageBucket.groovy
+8
-8
No files found.
src/org/qg/docker_new/StageBucket.groovy
View file @
f5c1283b
...
...
@@ -265,12 +265,12 @@ def update_microservice(namespace, name, image, tier) {
def
getDocketPackageImage
(
buildType
){
echo
"getDocketPackageImage :${buildType}"
def
args
=
""
def
args
=
""
def
packageImageInfo
=[:]
args
+=
"-v /home/quant_group/qg-dockerfiles:/home/quant_group/qg-dockerfiles "
args
+=
"-v /home/quant_group/config_repository:/home/quant_group/config_repository "
args
+=
"-v /home/quant_group/pacakge/:/home/quant_group/pacakge/ "
args
+=
"-v /home/quant_group/qg-dockerfiles:/home/quant_group/qg-dockerfiles "
args
+=
"-v /home/quant_group/config_repository:/home/quant_group/config_repository "
args
+=
"-v /home/quant_group/pacakge/:/home/quant_group/pacakge/ "
switch
(
buildType
)
{
case
"java"
:
args
+=
"-v /root/.m2:/root/.m2 "
...
...
@@ -280,8 +280,8 @@ def getDocketPackageImage(buildType){
break
case
"nodejs"
:
args
+=
"-v /root/.npm:/root/.npm "
args
+=
"-v /root/.cache:/root/.cache "
args
+=
"-v /root/.node-gyp:/root/.node-gyp "
args
+=
"-v /root/.cache:/root/.cache "
args
+=
"-v /root/.node-gyp:/root/.node-gyp "
packageImageInfo
[
"image"
]
=
"192.168.4.36/baseimg/jenkins-node-slave:2018040402"
packageImageInfo
[
"args"
]
=
args
...
...
@@ -292,8 +292,8 @@ def getDocketPackageImage(buildType){
break
case
"lua-ui"
:
args
+=
"-v /root/.npm:/root/.npm "
args
+=
"-v /root/.cache:/root/.cache "
args
+=
"-v /root/.node-gyp:/root/.node-gyp "
args
+=
"-v /root/.cache:/root/.cache "
args
+=
"-v /root/.node-gyp:/root/.node-gyp "
packageImageInfo
[
"image"
]
=
"192.168.4.36/baseimg/jenkins-node-slave:2018040402"
packageImageInfo
[
"args"
]
=
args
...
...
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