dd61d969 by lihua

fix

1 parent 9f11f950
...@@ -8,6 +8,6 @@ COPY ./dist/assets /usr/share/nginx/html/assets ...@@ -8,6 +8,6 @@ COPY ./dist/assets /usr/share/nginx/html/assets
8 COPY default.conf /etc/nginx/conf.d/ 8 COPY default.conf /etc/nginx/conf.d/
9 #声明运行时容器暴露的端口(容器提供的服务端口) 9 #声明运行时容器暴露的端口(容器提供的服务端口)
10 RUN chown -R nginx:nginx /usr/share/nginx/html 10 RUN chown -R nginx:nginx /usr/share/nginx/html
11 EXPOSE 29900 11 EXPOSE 9901
12 #CMD:指定容器启动时要运行的命令 12 #CMD:指定容器启动时要运行的命令
13 CMD ["nginx", "-g", "daemon off;"] 13 CMD ["nginx", "-g", "daemon off;"]
......
...@@ -18,7 +18,7 @@ pipeline { ...@@ -18,7 +18,7 @@ pipeline {
18 //docker私服ip 18 //docker私服ip
19 ip = "192.168.5.4:82" 19 ip = "192.168.5.4:82"
20 //前端端口号 20 //前端端口号
21 port = "29900" 21 port = "80"
22 //映射端口号 22 //映射端口号
23 vport = "80" 23 vport = "80"
24 24
...@@ -114,8 +114,8 @@ pipeline { ...@@ -114,8 +114,8 @@ pipeline {
114 //调用Publish Over SSH插件,上传docker-compose.yaml文件并且执行deploy脚本 114 //调用Publish Over SSH插件,上传docker-compose.yaml文件并且执行deploy脚本
115 sshPublisher(publishers: [sshPublisherDesc(configName: "csbr20", transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: """ 115 sshPublisher(publishers: [sshPublisherDesc(configName: "csbr20", transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: """
116 #使用k8s构建 116 #使用k8s构建
117 kubectl delete -f /mnt/k8s/release-test/daop-jgjf/fe-data-asset-management.yaml 117 kubectl delete -f /mnt/k8s/daop/release-test/daop-zcgl/fe-data-asset-management.yaml
118 kubectl apply -f /mnt/k8s/release-test/daop-jgjf/fe-data-asset-management.yaml 118 kubectl apply -f /mnt/k8s/daop/release-test/daop-zcgl/fe-data-asset-management.yaml
119 """, execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '/mnt/csbr/data', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'output/*.*')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)]) 119 """, execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '/mnt/csbr/data', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'output/*.*')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
120 120
121 echo 'Depoly ${SVN_FOLD} success ...' 121 echo 'Depoly ${SVN_FOLD} success ...'
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!