File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed
Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -262,25 +262,25 @@ pipeline {
262262 }
263263 }
264264
265- // stage ('Publishing artifacts to clouds') {
266- // when {
267- // anyOf {
268- // branch 'release/latest';
269- // branch 'release/preview';
270- // }
271- // }
272- //
273- // agent { label 'windows' }
274- //
275- // steps{
276- //
277- // unstash 'buildResults'
278- //
279- // withCredentials([string(credentialsId: 'NuGetToken', variable: 'NUGET_TOKEN')]) {
280- // bat "chcp $outputEnc > nul\r\n\"${tool 'MSBuild'}\" Build.csproj /t:PublishNuget /p:NugetToken=$NUGET_TOKEN"
281- // }
282- // }
283- // }
265+ stage (' Publishing artifacts to clouds' ) {
266+ when {
267+ anyOf {
268+ branch ' release/latest' ;
269+ branch ' release/preview' ;
270+ }
271+ }
272+
273+ agent { label ' windows' }
274+
275+ steps{
276+
277+ unstash ' buildResults'
278+
279+ withCredentials([string(credentialsId : ' NuGetToken' , variable : ' NUGET_TOKEN' )]) {
280+ bat " chcp $outputEnc > nul\r\n\" ${ tool 'MSBuild'} \" Build.csproj /t:PublishNuget /p:NugetToken=$NUGET_TOKEN "
281+ }
282+ }
283+ }
284284
285285 stage (' Publishing docker-images' ) {
286286 parallel {
You can’t perform that action at this time.
0 commit comments