false
ylhealth
GIT_BRANCH
如
release/1.15GA
hotfix/1.15.1GA
release/1.43GA
false
-1
5
-1
-1
2
https://cm.ylhealth.org/gitlab/ym/HRB.git
3485e854-8389-40e8-8c86-b94e94e91904
*/${GIT_BRANCH}
false
"UAT 139"
false
false
false
false
false
org.ylhealth.ym.hrb.backend
HRB
clean package -Poptimize -Dmaven.test.skip=true -DskipTests=true
spring-boot:run
true
false
true
false
true
true
true
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
$QA_Group,$RD_Group
$PROJECT_DEFAULT_SUBJECT
$PROJECT_DEFAULT_CONTENT
false
false
$PROJECT_DEFAULT_REPLYTO
project
text/html
[Deploy Information] - HRB deploy UAT done
Hi All,
<p>SIT environment had deployed.</p>
<p>You can view issue or bug on Jira website : <a href="https://cm.ylhealth.org/jira/secure/Dashboard.jspa">Connect to Jira</a></p>
$DEFAULT_PRESEND_SCRIPT
$DEFAULT_POSTSEND_SCRIPT
false
false
scott.yang@ylhealth.org
false
false
false
false
VAR=$(git rev-parse --short HEAD)_$(date +"%Y%m%d_%H%M")
version=$(echo $GIT_BRANCH | cut -d'/' -f 2)
sed -i "s/<base.*/<base href=\"\/\" version=\"${version}_${VAR}\"\/>/" src/main/resources/static/index.html
sed -i "s/<base.*/<base href=\"\/\" version=\"${version}_${VAR}\"\/>/" src/main/resources/static/login.html
sudo systemctl stop hrb
sudo rm -f /opt/HRB/lib/*
sudo 7za e target/HRB-pack.zip -o/opt/HRB/lib/ HRB/lib/*.* -r -y
sudo systemctl start hrb
SUCCESS
0
BLUE
true