false
ylhealth
GIT_BRANCH
如
master
release/1.15GA
hotfix/1.15.1GA
release/1.40GA
false
1
1
-1
-1
2
https://cm.ylhealth.org/gitlab/ym/CHM_API.git
3485e854-8389-40e8-8c86-b94e94e91904
*/${GIT_BRANCH}
false
UAT_136
false
false
false
false
0 7,13,17 * * *
false
org.ylhealth.ym.chmapi
chmapi
clean package -Dmaven.test.skip=true -DskipTests=true
spring-boot:run
true
false
false
false
true
false
false
false
false
-1
false
false
true
$RD_Group $QA_Group
false
false
true
false
false
false
true
true
true
false
true
true
false
false
false
NONE
false
false
xterm
VAR=$(git rev-parse --short HEAD)_$(date +"%Y%m%d_%H%M")
version=$(echo $GIT_BRANCH | cut -d'/' -f 3)
# sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${version}_${VAR}<\/title\/>/" src/main/resources/static/index.html
systemctl stop CRM_API
rm -f /opt/chm/chmapi/lib/*.jar
/usr/bin/unzip -j -o target/chmapi-pack.zip "chmapi/lib/*" -d /opt/chm/chmapi/lib
systemctl start CRM_API
SUCCESS
0
BLUE
true