diff --git a/config.xml b/config.xml index 92799cd3c49b0b674f0b36d0c57e36111c534f50..ea024a8794e38749bbbb3ef6b58cb3952c6aee8f 100644 --- a/config.xml +++ b/config.xml @@ -762,6 +762,7 @@ Deploy_Hi365_Android_SIT + Deploy_Hi365_API_PROD Deploy_Hi365_API_SIT Deploy_Hi365_API_UAT Deploy_Hi365_APP(Android + IOS)_SIT diff --git a/jobs/Deploy_Hi365_API_PROD/config.xml b/jobs/Deploy_Hi365_API_PROD/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..e671770810891b78c2774043641e43f6cc74933c --- /dev/null +++ b/jobs/Deploy_Hi365_API_PROD/config.xml @@ -0,0 +1,84 @@ + + + + + false + + + + com.cloudbees.plugins.credentials.CredentialsProvider.View:longmengua + hudson.model.Item.Build:longmengua + hudson.model.Item.Cancel:longmengua + hudson.model.Item.Gitflow:longmengua + hudson.model.Item.Read:longmengua + hudson.model.Item.Workspace:longmengua + + + + -1 + 5 + -1 + -1 + + + + ylhealth + + + + 2 + + + https://cm.ylhealth.org/gitlab/YongYue/hi365-api.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + master + + + false + + + + HI365_UAT_10.57.105.28 + false + false + false + false + + false + + + + build -x test + + + gradle-5-6 + false + false + false + + false + + false + + + export GOOGLE_APPLICATION_CREDENTIALS="/var/lib/jenkins/workspace/Deploy_Hi365_API_UAT/hi365-b2622.json" +sudo systemctl stop Hi365Resource +sudo rm -f /opt/Hi365ResourceServer/lib/*.jar +sudo cp -a build/libs/* /opt/Hi365ResourceServer/lib +sudo systemctl start Hi365Resource + + + + + + false + + + false + + + \ No newline at end of file