works or not, close enough
All checks were successful
gitea.arg.rip/jenkins-playground/pipeline/head This commit looks good

This commit is contained in:
adam 2024-11-10 02:33:50 -05:00
parent 7884549534
commit 972f3fd8e3

4
Jenkinsfile vendored
View File

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