From 3f73a70ca1a9bcad2ee43e5ef9248aaec42bc18a Mon Sep 17 00:00:00 2001 From: grigo Date: Sun, 3 May 2026 12:05:25 +0300 Subject: [PATCH] refs TG-4: added autoReleaswe --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3687c35..f14a184 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,7 +44,7 @@ stage('Create Gitea Release') { agent { label 'windows' } steps { - withCredentials([string(credentialsId: 'GITEA_TOKEN', variable: 'GITEA_TOKEN')]) { + withCredentials([string(credentialsId: 'Gitea_Credentials', variable: 'GITEA_TOKEN')]) { bat """ curl -X POST "https://git.grigowashere.ru/api/v1/repos/Grigo/Testing/releases" ^ -H "Authorization: token %GITEA_TOKEN%" ^ @@ -59,7 +59,7 @@ stage('Upload Artifact to Gitea Release') { agent { label 'windows' } steps { - withCredentials([string(credentialsId: 'GITEA_TOKEN', variable: 'GITEA_TOKEN')]) { + withCredentials([string(credentialsId: 'Gitea_Credentials', variable: 'GITEA_TOKEN')]) { bat """ powershell -NoProfile -Command "Compress-Archive -Path dist\\windows\\* -DestinationPath dist\\windows-build.zip -Force"