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"