diff --git a/jobs/Deploy_CHMB_UAT_133/config.xml b/jobs/Deploy_CHMB_UAT_133/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..7f7c729ba1ccfa513613d6f3294dba31a31b53bf --- /dev/null +++ b/jobs/Deploy_CHMB_UAT_133/config.xml @@ -0,0 +1,166 @@ + + + + + false + + + ylhealth + + + + + GIT_BRANCH + 如 +master +release/1.15GA +hotfix/1.15.1GA + release/1.34GA + false + + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/CRM_BOOKING.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */${GIT_BRANCH} + + + false + + + + SIT_133 + false + false + false + false + + false + + org.ylhealth.ym.hrb.backend + CHMB + + clean package -Dmaven.test.skip=true -DskipTests=true + spring-boot:run + true + false + true + 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 + + + + + + + + + + Deploy_ReportUploader_SIT_132 + ALWAYS + false + false + + + FAILURE + 2 + RED + true + + + UNSTABLE + 1 + YELLOW + true + + + FAILURE + 2 + RED + true + + + false + + + + + Deploy_ReportUploader_SIT_132 + target/jnlp/lib/* + src/main/resources/static/ReportUploader/lib/ + + + true + false + + + 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>CHM Booking Manage v${version}_${VAR}<\/title\/>/" src/main/resources/static/index.html + + + + + sudo systemctl stop CHMB +sudo rm -f /opt/CHMB/lib/* +7za e target/CHMB-pack.zip -o/opt/CHMB/lib/ CHMB/lib/*.* -r -y +7za e target/CHMB-pack.zip -o/opt/CHMB/template/ CHMB/template/*.* -r -y +7za e target/CHMB-pack.zip -o/opt/CHMB/sample/ CHMB/sample/*.* -r -y +sudo systemctl start CHMB + + + + SUCCESS + 0 + BLUE + true + + \ No newline at end of file