diff --git a/config.xml b/config.xml index 7a625fd71b146fca15fd5c949c8d7c3cb104c548..9fdf1de31384c790af35a3f911b2facbfd671f5f 100644 --- a/config.xml +++ b/config.xml @@ -646,6 +646,7 @@ + CHM_APP_Commit_Build CHM_Commit_Build CHMB_Commit_Build Form_Commit_Build diff --git a/jobs/CHM_APP_Commit_Build/config.xml b/jobs/CHM_APP_Commit_Build/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..8866ffca328f5950d39c8e715b889d49cf0c4c4d --- /dev/null +++ b/jobs/CHM_APP_Commit_Build/config.xml @@ -0,0 +1,127 @@ + + + + 1. Build Code and run unit test. +2. Source Code Analysis +3. Print Coverage Report +4. Print Unit Test Report + +Jenkins will send email to RD Team if build fails. + false + + + ylhealth + + + + -1 + 3 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + develop + + + false + + + + MAC_BUILD_Machine + false + false + false + false + + false + + + npm install +npm run test + + + + + **/output/coverage/jest/cobertura-coverage.xml + false + false + false + false + false + false + 0 + true + 80, 0, 0 + 70, 0, 0 + + + + LINE + 8000000 + + + CONDITIONAL + 7000000 + + + + + + + LINE + 0 + + + CONDITIONAL + 0 + + + + + + + LINE + 0 + + + CONDITIONAL + 0 + + + + ASCII + false + + + **/output/coverage/junit/junit.xml + false + 1.0 + false + + + + false + false + + + + + false + + + false + + + + \ No newline at end of file