From 6f4a18f7951834748a93e13df43334a1682396df Mon Sep 17 00:00:00 2001 From: Voomra Date: Mon, 18 Aug 2025 14:17:50 +0300 Subject: [PATCH] build(ci): fix syntax --- .jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.jenkinsfile b/.jenkinsfile index 312adb4..836e879 100644 --- a/.jenkinsfile +++ b/.jenkinsfile @@ -36,8 +36,8 @@ pipeline { url: env.GITEA_API_URL, httpMode: 'POST', acceptType: 'application/json', - contentType: 'application/json' - customHeaders: [[name: 'Authorization', value: "token ${env.GITEA_TOKEN}"]] + contentType: 'application/json', + customHeaders: [[name: 'Authorization', value: "token ${env.GITEA_TOKEN}"]], requestBody: releaseData) def responseCode = responseApi.status @@ -77,8 +77,8 @@ pipeline { url: "${env.GITEA_API_URL}/${env.RELEASE_ID}/assets?name=${fileName}", httpMode: 'POST', acceptType: 'application/json', - contentType: 'application/octet-stream' - customHeaders: [[name: 'Authorization', value: "token ${env.GITEA_TOKEN}"]] + contentType: 'application/octet-stream', + customHeaders: [[name: 'Authorization', value: "token ${env.GITEA_TOKEN}"]], uploadFile: "build/libs/${fileName}") def responseCode = responseApi.status