sdf
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:14:53 -05:00
parent fb3dc36e46
commit 87dc3eefeb

3
Jenkinsfile vendored
View File

@ -41,13 +41,14 @@ pipeline {
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"body": "\$(date)",
"body": "automatic build at \$(date)",
"draft": false,
"name": "$BUILD_NUMBER",
"prerelease": false,
"tag_name": "$BUILD_NUMBER",
"target_commitish": "$GIT_COMMIT"
}'
cat release.json
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"