diff --git a/Jenkinsfile b/Jenkinsfile index 831696f..b00560c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,7 +42,7 @@ pipeline { -H 'Authorization: token $GITEA_PSW' \ -H 'Content-Type: application/json' \ -d '{ - "body": "automatic build at \$(date)", + "body": "automatic build at '"\$date"'", "draft": false, "name": "$BUILD_NUMBER", "prerelease": false, @@ -58,7 +58,7 @@ pipeline { -H 'accept: application/json' \ -H 'Authorization: token $GITEA_PSW' \ -H 'Content-Type: multipart/form-data' \ - -F "attachment=@\$fullfilename" + -F "attachment=@\$fullfilename;type=application/nupkg" releaseid=null filename=null