From ab43b2e778e68e0d5e83bafd9768277a8bc27689 Mon Sep 17 00:00:00 2001 From: Voomra Date: Mon, 18 Aug 2025 12:28:37 +0300 Subject: [PATCH] =?UTF-8?q?build(ci):=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20?= =?UTF-8?q?=D1=80=D0=B5=D0=B7=D1=83=D0=BB=D1=8C=D1=82=D0=B0=D1=82=D0=B0=20?= =?UTF-8?q?curl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.jenkinsfile b/.jenkinsfile index e438da4..87bc441 100644 --- a/.jenkinsfile +++ b/.jenkinsfile @@ -34,13 +34,16 @@ pipeline { } """ - sh(script: ''' + def apiResponse = sh(script: ''' curl -X POST \ -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ -d '${releaseData}' \ "${GITEA_API_URL}/repos/${GITEA_REPO_OWNER}/${GITEA_REPO_NAME}/releases" ''', returnStdout: true).trim() + + echo "📥 Ответ от Gitea API:" + echo apiResponse } } }