diff --git a/jobs/Deploy_CHMB_DIHTEST_164/config.xml b/jobs/Deploy_CHMB_DIHTEST_164/config.xml deleted file mode 100644 index 304bb378c905eb12f9709898c0efbf7bf5961dca..0000000000000000000000000000000000000000 --- a/jobs/Deploy_CHMB_DIHTEST_164/config.xml +++ /dev/null @@ -1,185 +0,0 @@ - - - - - false - - - ylhealth - - - - - GIT_BRANCH - 正式環境的 branch, 如: -master -release/1.15GA -hotfix/1.15.1GA - DHP/develop - false - - - - - - -1 - 5 - -1 - -1 - - - - - 2 - - - https://cm.ylhealth.org/gitlab/ym/CRM_BOOKING.git - 3485e854-8389-40e8-8c86-b94e94e91904 - - - - - */${GIT_BRANCH} - - - false - - - - DIH_Test_172.16.40.164 - false - false - false - false - - - 0 7,13,17 * * 1-6 - - - 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 - - - - - - - - - - - - - NotifyMessage=Deploy CHMB on American(164) done. - false - - - Notify_Group - SUCCESS - false - false - - - - - - - false - - - 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=${GIT_BRANCH##*/} -sed -i "s/<title.*/<title>Customer Health Management<\/title\/>/" src/main/resources/static/index.html -sed -i "s/<base.*/<base href=\"\/CHMB\/\" version=\"${version}_${VAR}\"\/>/" src/main/resources/static/index.html - - - - - - systemctl stop CHMB - -chmb=/opt/CHMB -tempdir=$(mktemp -d) -7za x target/CHMB-pack.zip -o"${tempdir}" -rm -rf ${chmb}/lib/* -rm -rf ${chmb}/sample/* -rm -rf ${chmb}/template/* -mv -f ${tempdir}/CHMB/lib/* "${chmb}/lib" -mv -f ${tempdir}/CHMB/sample/* "${chmb}/sample" -mv -f ${tempdir}/CHMB/template/* "${chmb}/template" -rm -rf "${tempdir}" - -systemctl start CHMB - - - - SUCCESS - 0 - BLUE - true - - \ No newline at end of file