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
70b9d28f
Commit
70b9d28f
authored
Apr 23, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
host
parent
da7a116b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
StageBucketTke.groovy
src/org/qg/docker_new/StageBucketTke.groovy
+5
-2
No files found.
src/org/qg/docker_new/StageBucketTke.groovy
View file @
70b9d28f
...
...
@@ -550,7 +550,7 @@ def dockerbuild_and_push(imageTagInfo,buildNumber,systemName,branchName,cluster,
}
}
/* 设置etcd镜像信息 */
set_image_info
(
systemName
,
branchHashCode
,
imageTag
)
//
set_image_info(systemName, branchHashCode, imageTag)
}
def
deploy
(
namespace
,
systemName
,
imageTag
,
tier
,
isDeploy
)
{
...
...
@@ -561,9 +561,12 @@ def deploy(namespace, systemName, imageTag, tier, isDeploy) {
def
projectAttr
=
project_attr
(
systemName
)
def
host
=
projectAttr
[
"host"
]
def
hostArray
=
host
.
split
(
"."
)
def
hostFirst
=
hostArray
[
0
]
echo
"host is : ${host} "
echo
"hostFirst is : ${hostFirst} "
imageTag
=
imageTag
.
replaceAll
(
"ccr.ccs.tencentyun.com/"
,
""
)
_utils
().
beautyEcho
(
"[新集群][deployV2]将镜像更新到到Namespace:"
+
namespace
,
"info"
)
update_microservice
(
namespace
,
systemName
,
imageTag
,
tier
,
host
Array
[
0
]
)
update_microservice
(
namespace
,
systemName
,
imageTag
,
tier
,
host
First
)
}
else
{
_utils
().
beautyEcho
(
"isDeploy == false,不执行deploy"
,
"info"
)
}
...
...
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