franz/Jenkinsfile

19 lines
434 B
Plaintext
Raw Normal View History

pipeline {
agent any
2022-11-30 16:11:49 -05:00
tools {
2022-11-30 16:13:16 -05:00
dotnetsdk 'dotnet6'
2022-11-30 16:11:49 -05:00
}
stages {
stage('Build') {
steps {
echo 'Building..'
2022-11-30 16:15:01 -05:00
sh 'dotnet pack franz/franz.csproj --configuration Release --output ./'
}
}
stage('Deploy') {
steps {
sh 'dotnet nuget push ./*.nupkg --source gitea --skip-duplicates'
}
}
}
}