无标题文章

'''

try:

headers = {

'content-type':"application/json",

        'jwt': encoded

}

response = requests.post(server_url, headers=headers)

if response.status_code !=200:

logger.error("commit builds post go wrong , status code is : {}".format(response.status_code))

logger.error(response.text)

except Exception as e:

logger.error("commit builds post Error: {}".format(e))

'''

你可能感兴趣的:(无标题文章)