Git shell
来源:互联网 发布:淘宝注册公司靠谱吗 编辑:程序博客网 时间:2024/05/18 02:17
#! /bin/bash
cd /home/huatu_code/workflow-service/
rm -rf target/
git fetch --all
git reset --hard origin/develop
git pull
mvn clean
mvn compile
mvn install
kill -9 $(ps -ef|grep workflow-service-0.0.1|gawk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ')
cd /home/huatuCloud/
mv workflow-service-0.0.1-SNAPSHOT.jar workflow-service-0.0.1-SNAPSHOT.jar_$(date +%Y%m%d-%H%M%S)
mv /home/huatu_code/workflow-service/target/workflow-service-0.0.1-SNAPSHOT.jar /home/huatuCloud/
nohup java -jar workflow-service-0.0.1-SNAPSHOT.jar > workflow-nohup.log 2>&1 &
ps -lef|grep workflow-service-0.0.1
阅读全文
0 0
- Git Shell
- Git shell
- git shell
- Git shell
- git shell
- Git shell
- git shell 之 git clone
- git git bash git shell的区别
- git shell 常用命令大全
- git shell显示中文
- Git shell连接Bitbucket
- shell更新git项目
- git shell 命令大全
- git shell 命令大全
- git shell显示中文
- Git Shell 命令
- Git shell常用命令
- Git Shell命令大全
- iOS 手势密码锁
- java json编程
- av_read_frame()
- Jboss与com.sun.jersey.guice冲突
- TabLayout横排滑动
- Git shell
- (三)java数据库篇笔记库(32)
- python实现删除文件与目录的方法
- 使用AnyProxy自动抓取微信公众号数据-包括阅读数和点赞数
- 快速教程:使用Cython来扩展Python/NumPy库
- SVN中Branch/tag的比较
- 译文 | 与TensorFlow的第一次接触 第六章:并发
- 使用scikit-learn解释随机森林算法
- SAP BDC 数据导入