From 46bf74fe4f52842012dba902d4c69b2f42cee167 Mon Sep 17 00:00:00 2001 From: Mutzi Date: Mon, 13 Feb 2023 06:39:12 +0100 Subject: [PATCH] #CertifiedRetard5 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f8574bc..85140ac 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -82,7 +82,7 @@ pipeline { customHeaders: [[name: 'Authorization', value: "token ${TOKEN_PSW}", maskValue: true]], httpMode: 'POST', requestBody: release_body_str - def release_json = readJson text: release_resp.content + def release_json = readJSON text: release_resp.content httpRequest url: "https://gitea.mattv.de/api/v1/repos/root/fileserver/releases/${release_json.id}/assets?name=linux-x64-glibc.tar.xz", httpMode: 'POST', acceptType: 'APPLICATION_JSON',