Skip to content

Commit 5627ee3

Browse files
committed
Выпала публикация нугетов
1 parent 97d1db6 commit 5627ee3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Jenkinsfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,18 @@ pipeline {
252252
'''.stripIndent()
253253
}
254254
}
255+
}
256+
257+
stage ('Publishing artifacts to clouds'){
258+
when { branch 'release/latest' }
259+
agent { label 'windows' }
260+
261+
steps{
262+
unstash 'winDist'
263+
withCredentials([string(credentialsId: 'NuGetToken', variable: 'NUGET_TOKEN')]) {
264+
bat "chcp $outputEnc > nul\r\n\"${tool 'MSBuild'}\" Build.csproj /t:PublishNuget /p:NugetToken=$NUGET_TOKEN"
265+
}
266+
}
255267
}
256268
}
257269

0 commit comments

Comments
 (0)