dd61d969 by lihua

fix

1 parent 9f11f950
......@@ -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;"]
......
......@@ -18,7 +18,7 @@ pipeline {
//docker私服ip
ip = "192.168.5.4:82"
//前端端口号
port = "29900"
port = "80"
//映射端口号
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 ...'
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!