Commit 0158b32a authored by wentao.suo's avatar wentao.suo

fff

parent 2816fa00
...@@ -72,4 +72,16 @@ def call(body) { ...@@ -72,4 +72,16 @@ def call(body) {
} }
} }
} }
}
@NonCPS
def jsonParse(def json) {
new groovy.json.JsonSlurperClassic().parseText(json)
}
def project_attr(systemName) {
response = httpRequest "http://192.168.4.3:10088/config_server/get_project_attr/${systemName}"
def res_json = jsonParse(response.content)
return res_json
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment