#!/usr/bin/env bash cd /data/jenkins_home/workspace/feifan-front-business/dist pwd ls rm -rf /data/projects/feifan/business cp -r /data/jenkins_home/workspace/feifan-front-business/dist /data/projects/feifan/business chmod -R 777 /data/projects/feifan/business nginx -t nginx -s reload