apostrophes for string building
All checks were successful
gitea.arg.rip/jenkins-playground/pipeline/head This commit looks good
All checks were successful
gitea.arg.rip/jenkins-playground/pipeline/head This commit looks good
This commit is contained in:
parent
6a1c175e5c
commit
cb5ae43d2a
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -50,8 +50,9 @@ 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' \
|
||||
'https://gitea.arg.rip/api/v1/repos/greyn/jenkins-playground/releases/\$releaseid/assets?name=\$noext&token=$GITEA_PAT' \
|
||||
\$postURL \
|
||||
-H 'accept: application/json' \
|
||||
-H 'Content-Type: multipart/form-data' \
|
||||
-F 'attachment=@\$fullfilename'
|
||||
@ -60,6 +61,7 @@ pipeline {
|
||||
filename=null
|
||||
fullfilename=null
|
||||
noext=null
|
||||
postURL=null
|
||||
"""
|
||||
dotnetNuGetPush(root: "./*.nupkg", source:"greyngitea", skipDuplicate:true)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user