diff --git a/jobs/Deploy_Hi365_API_SIT/config.xml b/jobs/Deploy_Hi365_API_SIT/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..a14084e0813625fcbe544861a05dff37a4a74e95 --- /dev/null +++ b/jobs/Deploy_Hi365_API_SIT/config.xml @@ -0,0 +1,88 @@ + + + + + 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 + + + + + develop + + + false + + + + HI365_SIT_10.57.105.27 + false + false + false + false + + false + + + chmod jenkins+x gradlew + + + + build + + + gradle-5-6 + true + false + false + + false + + false + + + export GOOGLE_APPLICATION_CREDENTIALS="/var/lib/jenkins/workspace/Hi365_SIT_API_Deploy/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