Adam R Grey
5b13021b2b
changes that break this much should probably be a 2.0, but eh. also I don't need Jenkins to completely trip to death if I don't bump the version number every time.
19 lines
434 B
Groovy
19 lines
434 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-duplicates'
|
|
}
|
|
}
|
|
}
|
|
} |