diff --git a/config.xml b/config.xml index a004e8f0bef26f831ccc6035f394ec9e17628e5c..9101bc67ff26001e89eb979b8cce135c441ca425 100644 --- a/config.xml +++ b/config.xml @@ -892,7 +892,7 @@ - HRB_Manage_Dependency_Check + HRB_Dependency_Check diff --git a/jobs/HRB_Manage_130/config.xml b/jobs/HRB_Manage_130/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..aeb0e853a051b9ee28d39b463d617867540867ab --- /dev/null +++ b/jobs/HRB_Manage_130/config.xml @@ -0,0 +1,315 @@ + + + + 注意! +這是後台 目前先配合SVN的英文名稱 +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 + + + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/CRM_BOOKING.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + develop + + + false + + + + "Build Node 134" || master + false + true + false + false + + + H 23 * * 1-6 + + + false + + + clean package -Dmaven.test.skip=true + Maven_3.39 + false + + + true + + + + + + HRB_Dependency_Check + ALWAYS + false + false + false + + + + + + + + + + Deploy_HRB_Manage + ALWAYS + false + false + + + FAILURE + 2 + RED + true + + + UNSTABLE + 1 + YELLOW + true + + + FAILURE + 2 + RED + true + + + false + + + + + + + + + + + + SQL_Stored_Procedure_Deploy + ALWAYS + false + false + + false + + + + + + + + + SUCCESS + 0 + BLUE + true + + + SUCCESS + 0 + BLUE + true + + + + + + + HRB_Manage_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 + + + + + + + HRB_Manage_Automation + ALWAYS + false + false + + false + + + + + + + HRB_Manage_Automation + log.html,output.xml,report.html + + + + false + + + + + SUCCESS + 0 + BLUE + true + + + SUCCESS + 0 + BLUE + true + + + + + + + HRB_Manage_Automation_IE + ALWAYS + false + false + + false + + + + + + + HRB_Manage_Automation_IE + log.html,output.xml,report.html + + + + false + + + + + SUCCESS + 0 + BLUE + true + + + SUCCESS + 0 + BLUE + true + + + + + + + HRB_Manage_Automation_Firefox + ALWAYS + false + false + + false + + + + + + + HRB_Manage_Automation_Firefox + log.html,output.xml,report.html + + + + false + + + + + ${WORKSPACE} + report.html + log.html + output.xml + false + 1.0 + 1.0 + + + + true + true + + + + + false + + + + + + 480 + + + + + \ No newline at end of file diff --git a/jobs/HRB_Manage_Daily_Build/config.xml b/jobs/HRB_Manage_Daily_Build/config.xml index acf4839cf387a76b1c9181e7728d73209cb0176d..5f3530fbdbb2069ed92d59e8f86836e545c9a427 100644 --- a/jobs/HRB_Manage_Daily_Build/config.xml +++ b/jobs/HRB_Manage_Daily_Build/config.xml @@ -13,7 +13,7 @@ 8. Send daily report for owner false - + ylhealth @@ -72,7 +72,7 @@ - HRB_Manage_Dependency_Check + HRB_Dependency_Check ALWAYS false false diff --git a/jobs/HRB_Manage_Dependency_Check/config.xml b/jobs/HRB_Manage_Dependency_Check/config.xml deleted file mode 100644 index 9802f450cada1edd965f8a4629d32381391fe0a2..0000000000000000000000000000000000000000 --- a/jobs/HRB_Manage_Dependency_Check/config.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - 主要是檢查軟體是否有弱洞或者是寫法有問題的第三方工具 -步驟 -1. Delete worksapce -2. Copy all of the files from daily build -3. Run dependency-check then create the report -4. Print report - false - - - ylhealth - - - - 1 - 3 - -1 - -1 - - - - - "OWASP ZAP Server" - false - false - false - false - - false - - - HRB_Commit_Build - - - - - false - - - C:\dependency-check\bin\dependency-check.bat --project %JOB_NAME% -s %WORKSPACE% -f ALL - - - - - - - low - [DependencyCheck] - UTF-8 - false - false - false - false - - - - - - - - - - - - - - - - - - - true - true - false - **/dependency-check-report.xml - - - - - false - - - - - \ No newline at end of file