franz/Jenkinsfile

25 lines
668 B
Plaintext
Raw Normal View History

pipeline {
agent any
2022-11-30 16:11:49 -05:00
tools {
dotnetsdk 'dotnet7'
2022-11-30 16:11:49 -05:00
}
stages {
2022-11-30 18:35:08 -05:00
stage('build franz') {
steps {
2022-11-30 18:35:08 -05:00
echo 'building franz'
2022-11-30 16:15:01 -05:00
sh 'dotnet pack franz/franz.csproj --configuration Release --output ./'
}
}
2022-11-30 18:35:08 -05:00
stage('deploy franz') {
steps {
2022-11-30 18:04:00 -05:00
sh 'dotnet nuget push ./*.nupkg --source gitea --skip-duplicate'
}
}
2022-11-30 18:35:08 -05:00
stage('build lister') {
steps {
echo 'franz'
sh 'dotnet publish topiclister/topiclister.csproj --configuration Release --output ./topiclister'
}
}
}
}