Compare commits

..

3 Commits

Author SHA1 Message Date
a2c258989f Merge branch 'main' into release
Some checks failed
gitea.arg.rip/jenkins-playground/pipeline/head There was a failure building this commit
2024-11-10 02:08:22 -05:00
cb5ae43d2a apostrophes for string building
All checks were successful
gitea.arg.rip/jenkins-playground/pipeline/head This commit looks good
2024-11-10 02:07:58 -05:00
6a1c175e5c Merge branch 'release' 2024-11-10 02:04:44 -05:00

4
Jenkinsfile vendored
View File

@ -50,8 +50,9 @@ pipeline {
}' }'
releaseid=\$(cat release.json | jq .id) releaseid=\$(cat release.json | jq .id)
postURL = "https://gitea.arg.rip/api/v1/repos/greyn/jenkins-playground/releases/\$releaseid/assets?name=\$noext&token=$GITEA_PAT"
curl -X 'POST' \ curl -X 'POST' \
'https://gitea.arg.rip/api/v1/repos/greyn/jenkins-playground/releases/\$releaseid/assets?name=\$noext&token=$GITEA_PAT' \ \$postURL \
-H 'accept: application/json' \ -H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \ -H 'Content-Type: multipart/form-data' \
-F 'attachment=@\$fullfilename' -F 'attachment=@\$fullfilename'
@ -60,6 +61,7 @@ pipeline {
filename=null filename=null
fullfilename=null fullfilename=null
noext=null noext=null
postURL=null
""" """
dotnetNuGetPush(root: "./*.nupkg", source:"greyngitea", skipDuplicate:true) dotnetNuGetPush(root: "./*.nupkg", source:"greyngitea", skipDuplicate:true)
} }