build(ci): fix использование переменных
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user