refs TG-4: added autoReleaswe
This commit is contained in:
Vendored
+2
-2
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user