Update Jenkinsfile

This commit is contained in:
Bishbash777
2022-01-16 02:53:31 +00:00
committed by GitHub
parent 55a552af60
commit fd8c731713

5
Jenkinsfile vendored
View File

@@ -18,7 +18,7 @@ def packageAndArchive(buildMode, packageName) {
node('windows') {
stage('Checkout') {
checkout scm
bat 'git pull https://github.com/TorchAPI/Torch/ master --tags'
bat 'git pull --tags'
}
stage('Acquire SE') {
@@ -29,8 +29,7 @@ node('windows') {
}
stage('Acquire NuGet Packages') {
bat 'cd C:\\Program Files\\Jenkins'
bat '"C:\\Program Files\\Jenkins\\nuget.exe" restore Torch.sln'
bat 'nuget restore Torch.sln'
}
stage('Build') {