1

build(ci): fix использование переменных

This commit is contained in:
2025-08-18 13:02:07 +03:00
parent 3e034a2db7
commit 4d625f97ba

View File

@@ -38,7 +38,7 @@ pipeline {
curl -X POST \ curl -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \ -H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '${releaseData}' \ -d ''' + "'${releaseData}'" + ''' \
"${GITEA_API_URL}/repos/${GITEA_REPO_OWNER}/${GITEA_REPO_NAME}/releases" "${GITEA_API_URL}/repos/${GITEA_REPO_OWNER}/${GITEA_REPO_NAME}/releases"
''', returnStdout: true).trim() ''', returnStdout: true).trim()