Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
dd61d969
authored
2025-01-23 10:14:18 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
9f11f950
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
Dockerfile
Jenkinsfile
Dockerfile
View file @
dd61d96
...
...
@@ -8,6 +8,6 @@ COPY ./dist/assets /usr/share/nginx/html/assets
COPY default.conf /etc/nginx/conf.d/
#声明运行时容器暴露的端口(容器提供的服务端口)
RUN
chown -R nginx:nginx /usr/share/nginx/html
EXPOSE
29900
EXPOSE
9901
#CMD:指定容器启动时要运行的命令
CMD
["nginx", "-g", "daemon off;"]
...
...
Jenkinsfile
View file @
dd61d96
...
...
@@ -18,7 +18,7 @@ pipeline {
//docker私服ip
ip = "192.168.5.4:82"
//前端端口号
port = "
2990
0"
port = "
8
0"
//映射端口号
vport = "80"
...
...
@@ -114,8 +114,8 @@ pipeline {
//调用Publish Over SSH插件,上传docker-compose.yaml文件并且执行deploy脚本
sshPublisher(publishers: [sshPublisherDesc(configName: "csbr20", transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: """
#使用k8s构建
kubectl delete -f /mnt/k8s/
release-test/daop-jgjf
/fe-data-asset-management.yaml
kubectl apply -f /mnt/k8s/
release-test/daop-jgjf
/fe-data-asset-management.yaml
kubectl delete -f /mnt/k8s/
daop/release-test/daop-zcgl
/fe-data-asset-management.yaml
kubectl apply -f /mnt/k8s/
daop/release-test/daop-zcgl
/fe-data-asset-management.yaml
""", execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '/mnt/csbr/data', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'output/*.*')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'Depoly ${SVN_FOLD} success ...'
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment