Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
speech_nlu_parse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
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
赵文静
speech_nlu_parse
Commits
5383aabb
Commit
5383aabb
authored
May 15, 2025
by
谢俊杰
☕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新jenkinsfile
parent
13a2b3d6
Pipeline
#5195
running with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Jenkinsfile
Jenkinsfile
+1
-1
No files found.
Jenkinsfile
View file @
5383aabb
...
@@ -129,7 +129,7 @@ pipeline{
...
@@ -129,7 +129,7 @@ pipeline{
transfers:
[
transfers:
[
sshTransfer
(
cleanRemote:
false
,
excludes:
''
,
execCommand:
"if [ `sudo docker service ls |grep -w ${jobName}|wc -l` -ge 1 ];then sudo docker service rm ${jobName};fi && \
sshTransfer
(
cleanRemote:
false
,
excludes:
''
,
execCommand:
"if [ `sudo docker service ls |grep -w ${jobName}|wc -l` -ge 1 ];then sudo docker service rm ${jobName};fi && \
sudo docker login -u ${user} -p ${passwd} https://${deployEnv}${registryDomain} && \
sudo docker login -u ${user} -p ${passwd} https://${deployEnv}${registryDomain} && \
sudo docker service create --with-registry-auth --name ${jobName} -p mode=host,published=${port},target=${port} --network test_gree --replicas 1 --constraint node.platform.os==linux --constraint node.hostname==${node} --log-driver=fluentd --log-opt fluentd-address=10.7.82.112:24224 --log-opt mode=non-blocking --log-opt tag=${index} --restart-condition on-failure --update-delay 10s --update-parallelism 1 --mount type=bind,source=/etc/hosts,target=/etc/hosts --mount type=bind,source=/lib64,target=/lib64
--mount type=bind,source=/var/log/service/${jobName},target=/var/log/service/${jobName}
${deployEnv}${registryDomain}/${repo}/${jobName}:${tagName}"
,
sudo docker service create --with-registry-auth --name ${jobName} -p mode=host,published=${port},target=${port} --network test_gree --replicas 1 --constraint node.platform.os==linux --constraint node.hostname==${node} --log-driver=fluentd --log-opt fluentd-address=10.7.82.112:24224 --log-opt mode=non-blocking --log-opt tag=${index} --restart-condition on-failure --update-delay 10s --update-parallelism 1 --mount type=bind,source=/etc/hosts,target=/etc/hosts --mount type=bind,source=/lib64,target=/lib64 ${deployEnv}${registryDomain}/${repo}/${jobName}:${tagName}"
,
execTimeout:
120000
,
execTimeout:
120000
,
flatten:
false
,
flatten:
false
,
makeEmptyDirs:
false
,
makeEmptyDirs:
false
,
...
...
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