From 5627ee31277b7b4d80ef328ea541d1250c47d9c7 Mon Sep 17 00:00:00 2001 From: EvilBeaver Date: Wed, 28 Dec 2022 22:44:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D0=BF=D0=B0=D0=BB=D0=B0=20=D0=BF?= =?UTF-8?q?=D1=83=D0=B1=D0=BB=D0=B8=D0=BA=D0=B0=D1=86=D0=B8=D1=8F=20=D0=BD?= =?UTF-8?q?=D1=83=D0=B3=D0=B5=D1=82=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index e46aec187..c2fcdae4c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -252,6 +252,18 @@ pipeline { '''.stripIndent() } } + } + + stage ('Publishing artifacts to clouds'){ + when { branch 'release/latest' } + agent { label 'windows' } + + steps{ + unstash 'winDist' + withCredentials([string(credentialsId: 'NuGetToken', variable: 'NUGET_TOKEN')]) { + bat "chcp $outputEnc > nul\r\n\"${tool 'MSBuild'}\" Build.csproj /t:PublishNuget /p:NugetToken=$NUGET_TOKEN" + } + } } }