web端
构建=》执行shell
yarnquasar buildcd disttar -cvzf spa.tar.gz ./spa
构建后操作=》Send build artifacts over SSH
SSH Publishers
Source files: dist/spa.tar.gzRemove prefix: dist/Remote directory: /opt/webExec command: cd /opt/web rm -rf spa tar -xzvf spa.tar.gz rm -f spa.tar.gz
java端:
Build
Root POM:pom.xmlGoals and options: clean package -DskipTests -Ptest
构建后操作=》Send build artifacts over SSH
SSH Publishers
Source files: module-system/target active: cmp/g' ./module-system-1.0/conf/application.ymlcd $projectName/binchmod 777 *./catalina.sh start