1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 06:28:35 +01:00
MLEM/Jenkinsfile

31 lines
548 B
Text
Raw Normal View History

2020-02-17 17:24:13 +01:00
pipeline {
agent any
stages {
stage('Build Projects') {
steps {
sh '''for i in **/MLEM*.csproj; do
dotnet build $i
done'''
2020-02-17 17:24:13 +01:00
sh 'dotnet build **/Demos.csproj'
}
}
2020-02-21 13:41:33 +01:00
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'''
}
}
2020-02-17 17:24:13 +01:00
}
}