diff --git a/jobs/CHM_Daily_Build/config.xml b/jobs/CHM_Daily_Build/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..00de79a07862249251277b47c685a3c441197ffc --- /dev/null +++ b/jobs/CHM_Daily_Build/config.xml @@ -0,0 +1,236 @@ + + + + 1. Delete the workspace +2. Download source code +3. Build code +4. Dependency check analysis +5. Deploy website +6. Wait until website ready +7. Run automation to test +8. Send daily report for owner + false + + + ylhealth + + + + 5 + 5 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/CRM.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + develop + + + */hotfix + + + */release + + + false + + + + "Build Node 133" || master + false + true + false + false + + + H 22 * * 1-6 + + + false + + + clean process-resources package -Dmaven.test.skip=true + Maven_3.39 + false + + + true + + + + + SUCCESS + 0 + BLUE + true + + + SUCCESS + 0 + BLUE + true + + + + + + + Deploy_CHM_Backend + ALWAYS + false + false + + + FAILURE + 2 + RED + true + + + UNSTABLE + 1 + YELLOW + true + + + FAILURE + 2 + RED + true + + + false + + + + + + + + + SUCCESS + 0 + BLUE + true + + + SUCCESS + 0 + BLUE + true + + + + + + + CHM_Detect_Web_Launch + ALWAYS + false + false + + + FAILURE + 2 + RED + true + + + UNSTABLE + 1 + YELLOW + true + + + FAILURE + 2 + RED + true + + + false + + + + + + + + + SUCCESS + 0 + BLUE + true + + + SUCCESS + 0 + BLUE + true + + + + + + + CHM_Automation + ALWAYS + false + false + + false + + + + + + + CHM_Automation + log.html,output.xml,report.html + + + + false + + + + + ${WORKSPACE} + report.html + log.html + output.xml + false + 1.0 + 1.0 + + + + true + true + + + + + false + + + false + + + + 30 + + + + + \ No newline at end of file