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 } } }