From 87dc3eefeb10c0f050267b9c785b1cfb6d5d0dc0 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 10 Nov 2024 02:14:53 -0500 Subject: [PATCH] sdf --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e4b0b04..d369955 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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"