franz/Jenkinsfile
Adam R Grey e1ff1db122
All checks were successful
gitea/franz/pipeline/head This commit looks good
.net7, and topic lister will also create them
2023-03-08 16:25:23 -05:00

25 lines
668 B
Groovy

pipeline {
agent any
tools {
dotnetsdk 'dotnet7'
}
stages {
stage('build franz') {
steps {
echo 'building franz'
sh 'dotnet pack franz/franz.csproj --configuration Release --output ./'
}
}
stage('deploy franz') {
steps {
sh 'dotnet nuget push ./*.nupkg --source gitea --skip-duplicate'
}
}
stage('build lister') {
steps {
echo 'franz'
sh 'dotnet publish topiclister/topiclister.csproj --configuration Release --output ./topiclister'
}
}
}
}