Compare commits

..

No commits in common. "cb5ae43d2abe919dd134693d30952b8956aa6cea" and "dfb1e06538542f264c276fb3dbce2cd1975ae040" have entirely different histories.

6
Jenkinsfile vendored
View File

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