Deploy SQL Stored Procedure Deploy
1. Clear the workspace
2. Copy all of the files to local workspace
3. Use 7z program to decompress pack.zip to original folder
4. Deploy Stored Procedure to Automation SQL server
false
ylhealth
2
5
-1
-1
"Deploy Server"
false
false
false
false
false
del C:\SQL_Stored_Procedure_Deploy\*.* /Q
del C:\SQL_Stored_Procedure_Deploy\logs\*.* /Q
COPY C:\Jenkins\workspace\Deploy_HRB_Backend_1PM\target\classes\storedProcedures\*.* C:\SQL_Stored_Procedure_Deploy /Y
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_AbnormalRateOfHealthExam.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_AbnormalRateOfHealthExam.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_AccountAuthorityList.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_AccountAuthorityList.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_ListOfCustomers.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_ListOfCustomers.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_ListOfHealthExam.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_ListOfHealthExam.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_NumberOfVisit.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_NumberOfVisit.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_NumOfHealthExam.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_NumOfHealthExam.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_TrackingList.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_TrackingList.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_TransInvoiceInfo.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_TransInvoiceInfo.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_TransPaymentInfo.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_TransPaymentInfo.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_WorkDetailList.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_WorkDetailList.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_DeptAuthorityList.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_DeptAuthorityList.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_ConsultationRecords.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_ConsultationRecords.txt -u
sqlcmd -U autotester -P autotester -S 192.168.2.11,1433 -e -d CRM_JENKINS -f 65001 -iC:\SQL_Stored_Procedure_Deploy\USP_Questionnaire.sql -oC:\SQL_Stored_Procedure_Deploy\logs\USP_Questionnaire.txt -u
false
60