| Dockerfile | ●●●●● patch | view | raw | blame | history | |
| Jenkinsfile | ●●●●● patch | view | raw | blame | history |
Dockerfile
@@ -3,6 +3,6 @@ #将dist目录内容复制到nginx容器html内部 COPY dist /usr/share/nginx/html/ COPY nginx.conf /etc/nginx/nginx.conf # COPY nginx.conf /etc/nginx/nginx.conf EXPOSE 80 Jenkinsfile
@@ -13,7 +13,6 @@ git(url: 'http://192.168.0.105:10010/r/zhba_enterprises.git', credentialsId: 'gitblit', branch: 'master', changelog: true, poll: false) sh 'ls -al' } } } @@ -22,9 +21,9 @@ steps { container('nodejs') { sh 'ls' sh 'ls' sh 'npm install -g cnpm --registry=https://registry.npm.taobao.org' sh 'cnpm i --no-package-lock' sh 'cnpm run build' } }