Skip to content

Commit 3375cc8

Browse files
committed
Вернул публикацию нугетов
1 parent 155e1ca commit 3375cc8

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

Jenkinsfile

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)