diff --git a/config.xml b/config.xml index 3524d90ea7e23bff083b12c74476f6a805287240..b678aaa1cd8049f584cc5081b65af8af4461e94d 100644 --- a/config.xml +++ b/config.xml @@ -762,7 +762,7 @@ Build_SIT_Hi365_APP - Hi365_HRA_SIT_Deploy + Deploy_HRA_SIT Hi365_HRA_UAT_Deploy Hi365_OAuth_Authorization_DEV_Deploy Hi365_OAuth_Client_SIT_Deploy diff --git a/jobs/Hi365_HRA_SIT_Deploy/config.xml b/jobs/Hi365_HRA_SIT_Deploy/config.xml deleted file mode 100644 index 733457c80d5f139c2c086b421c4c2a028447d2bc..0000000000000000000000000000000000000000 --- a/jobs/Hi365_HRA_SIT_Deploy/config.xml +++ /dev/null @@ -1,157 +0,0 @@ - - - - - false - - - - com.cloudbees.plugins.credentials.CredentialsProvider.Create:ExpertAdmin - com.cloudbees.plugins.credentials.CredentialsProvider.Create:nathan - com.cloudbees.plugins.credentials.CredentialsProvider.Delete:ExpertAdmin - com.cloudbees.plugins.credentials.CredentialsProvider.Delete:nathan - com.cloudbees.plugins.credentials.CredentialsProvider.ManageDomains:ExpertAdmin - com.cloudbees.plugins.credentials.CredentialsProvider.ManageDomains:nathan - com.cloudbees.plugins.credentials.CredentialsProvider.Update:ExpertAdmin - com.cloudbees.plugins.credentials.CredentialsProvider.Update:nathan - com.cloudbees.plugins.credentials.CredentialsProvider.View:ExpertAdmin - com.cloudbees.plugins.credentials.CredentialsProvider.View:nathan - hudson.model.Item.Build:ExpertAdmin - hudson.model.Item.Build:nathan - hudson.model.Item.Cancel:ExpertAdmin - hudson.model.Item.Cancel:nathan - hudson.model.Item.Configure:ExpertAdmin - hudson.model.Item.Configure:nathan - hudson.model.Item.Delete:ExpertAdmin - hudson.model.Item.Delete:nathan - hudson.model.Item.Discover:ExpertAdmin - hudson.model.Item.Discover:nathan - hudson.model.Item.Gitflow:nathan - hudson.model.Item.Move:ExpertAdmin - hudson.model.Item.Move:nathan - hudson.model.Item.Read:ExpertAdmin - hudson.model.Item.Read:nathan - hudson.model.Item.Workspace:ExpertAdmin - hudson.model.Item.Workspace:nathan - hudson.model.Run.Delete:ExpertAdmin - hudson.model.Run.Delete:nathan - hudson.model.Run.Replay:ExpertAdmin - hudson.model.Run.Replay:nathan - hudson.model.Run.Update:ExpertAdmin - hudson.model.Run.Update:nathan - hudson.scm.SCM.Tag:ExpertAdmin - hudson.scm.SCM.Tag:nathan - - - ylhealth - - - - -1 - 5 - -1 - -1 - - - - - 2 - - - https://cm.ylhealth.org/gitlab/YongYue/hi365-hra.git - 3485e854-8389-40e8-8c86-b94e94e91904 - - - - - develop - - - false - - - - HI365_SIT_10.57.105.27 - false - false - false - false - - false - - com.h2u.hi365.hra - hraengine - - hraengine/pom.xml - clean package -Dmaven.test.skip=true -P !jenkins,prod - jetty:run - true - false - false - false - true - false - false - false - false - -1 - false - false - true - - - - - Expert_Group - false - false - true - - - - - - - - - NotifyMessage=Deploy HRA done on SIT. - false - - - Notify_Group - SUCCESS - false - false - - - - - - - false - - - false - - - - - VAR=$(git rev-parse --short HEAD)_$(date +"%Y%m%d_%H%M") -version=$(echo $GIT_BRANCH | cut -d'/' -f 3) -sed -i "s/<base.*/<base href=\"\/\" version=\"${version}_${VAR}\"\/>/" hraengine/WebContent/WEB-INF/jsp/home/home.jsp - - - - - sudo systemctl stop hra.service -sudo cp hraengine/target/hi365-hra.war /opt/hra/hi365-hra.war -sudo systemctl start hra.service - - - - SUCCESS - 0 - BLUE - true - - \ No newline at end of file