franz/Jenkinsfile
2022-11-30 18:04:00 -05:00

19 lines
433 B
Groovy

pipeline {
agent any
tools {
dotnetsdk 'dotnet6'
}
stages {
stage('Build') {
steps {
echo 'Building..'
sh 'dotnet pack franz/franz.csproj --configuration Release --output ./'
}
}
stage('Deploy') {
steps {
sh 'dotnet nuget push ./*.nupkg --source gitea --skip-duplicate'
}
}
}
}