Skip to content

Commit

Permalink
Выпала публикация нугетов
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilBeaver committed Dec 28, 2022
1 parent 97d1db6 commit 5627ee3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
}

Expand Down

0 comments on commit 5627ee3

Please sign in to comment.