mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +01:00
try to push to private nuget feed
This commit is contained in:
parent
39b37f9c1b
commit
1c708bab2b
1 changed files with 17 additions and 0 deletions
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
|
@ -10,5 +10,22 @@ done'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Pack') {
|
||||||
|
steps {
|
||||||
|
sh 'rm **/*.nupkg'
|
||||||
|
sh '''for i in **/MLEM*.csproj; do
|
||||||
|
dotnet pack $i --version-suffix ${BUILD_NUMBER}
|
||||||
|
done'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Publish') {
|
||||||
|
steps {
|
||||||
|
sh '''for i in **/*.nupkg; do
|
||||||
|
nuget push $i -s https://nuget.ellpeck.de/v3/index.json
|
||||||
|
done'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue