build(ci): fix http headers
This commit is contained in:
@@ -78,8 +78,6 @@ pipeline {
|
||||
def responseApi = httpRequest(
|
||||
url: "${env.GITEA_API_URL}/${env.RELEASE_ID}/assets?name=${fileName}",
|
||||
httpMode: 'POST',
|
||||
acceptType: 'application/json',
|
||||
contentType: 'application/octet-stream',
|
||||
customHeaders: [
|
||||
[name: 'Accept-Type', value: 'application/json'],
|
||||
[name: 'Content-Type', value: 'application/octet-stream'],
|
||||
|
||||
Reference in New Issue
Block a user