Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
poc
poc-api
Commits
ed204b3c
Commit
ed204b3c
authored
Jan 23, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UPDATE JENKINS FILE
parent
748ad893
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
Jenkinsfile
Jenkinsfile
+0
-5
No files found.
Jenkinsfile
View file @
ed204b3c
...
...
@@ -44,11 +44,6 @@ end_time=`date +'%Y-%m-%d,%H:%m:%S'`'''
steps
{
sh
'''# docker-compose pull env
curl -X PUT http://$dcui_address/api/v1/projects --data \'{"id":"\'$dcui_project_id\'"}\' -H\'Content-type: application/json\'''
'
sh
'''
# 如果有正在运行的容器,停止并删除它
docker stop \'$docker_image_name\'
docker rm \'$docker_image_name\'
'''
sh
'''# docker-compose up
curl -X POST http://$dcui_address/api/v1/projects --data \'{"id":"\'$dcui_project_id\'"}\' -H\'Content-type: application/json\'''
'
}
...
...
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