add jenkins pre-check & fix jenkins flag

Signed-off-by: soulseen <sunzhu@yunify.com>
This commit is contained in:
soulseen
2019-05-05 22:37:01 +08:00
committed by zryfish
parent 2857071bdd
commit a57947fd45
5 changed files with 33 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ func GetPipeline(req *restful.Request, resp *restful.Response) {
return
}
resp.Header().Set(restful.HEADER_ContentType, "application/json")
resp.Header().Set(restful.HEADER_ContentType, restful.MIME_JSON)
resp.Write(res)
}