Browse Source

modified nginx.conf and jenkinsfile. should be the last!

xiaoct 7 years ago
parent
commit
64e31a9cca
2 changed files with 1 additions and 2 deletions
  1. 0 1
      Jenkinsfile
  2. 1 1
      nginx.conf

+ 0 - 1
Jenkinsfile

@@ -17,7 +17,6 @@ pipeline {
                 sh 'npm run build'
                 sh 'echo $! > .pidfile'
                 input message: 'Finished using the web site? (Click "Proceed" to continue)'
-                sh 'kill $(cat .pidfile)'
             }
         }
             

+ 1 - 1
nginx.conf

@@ -5,7 +5,7 @@ server {
 	listen 80;
 	server_name 192.168.253.189;
 	access_log /var/log/nginx/fuck.log;
-	root /usr/bi-web;
+	root /var/jenkins_home/workspace/bi-web/dist;
 	index index.html index.htm;
 	location / {
 	}