diff --git a/.jenkinsfile b/.jenkinsfile index 0d86b27..42c8473 100644 --- a/.jenkinsfile +++ b/.jenkinsfile @@ -38,7 +38,7 @@ pipeline { curl -X POST \ -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ - -d '${releaseData}' \ + -d ''' + "'${releaseData}'" + ''' \ "${GITEA_API_URL}/repos/${GITEA_REPO_OWNER}/${GITEA_REPO_NAME}/releases" ''', returnStdout: true).trim()