1 General
2 源码管理(Gitee)
Refspec:
+refs/heads/*:refs/remotes/origin/* +refs/pull/*/MERGE:refs/pull/*/MERGE
3 Build
4 执行shell
#!/bin/bash echo "start execute shell" cd $WORKSPACE/nhorizons-application mvn clean install cd $WORKSPACE/nhorizons-application/nhorizons-webapp-base mvn clean install cd $WORKSPACE/nhorizons-application/$appName mvn clean package -Ptest cp /nhorizons/application/bin/restartpts.sh $WORKSPACE/nhorizons-application/$appName/ chmod u+x restartpts.sh ./restartpts.sh