#!/bin/bash ######################################################################### # File Name: update-delivery.sh # Created on: 2019-09-11 16:21:57 # Author: Wu Kang # Last Modified: 2022-03-02 18:23:36 # Description: ######################################################################### #/bin/bash #by wk . /etc/profile ip=$1 cd /data/update/project/sk_pay || exit git pull mvn clean package if [ ! -z ${ip} ];then scp target/idip-1.0-SNAPSHOT.jar ${ip}:/data/shikong/idip/ scp pay_reboot.sh ${ip}:/data/shikong/idip/pay_reboot.sh fi