2022-11-30 15:52:25 -05:00
|
|
|
pipeline {
|
|
|
|
agent any
|
2022-11-30 16:11:49 -05:00
|
|
|
tools {
|
2023-03-08 16:25:23 -05:00
|
|
|
dotnetsdk 'dotnet7'
|
2022-11-30 16:11:49 -05:00
|
|
|
}
|
2022-11-30 15:52:25 -05:00
|
|
|
stages {
|
2022-11-30 18:35:08 -05:00
|
|
|
stage('build franz') {
|
2022-11-30 15:52:25 -05:00
|
|
|
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 15:52:25 -05:00
|
|
|
}
|
|
|
|
}
|
2022-11-30 18:35:08 -05:00
|
|
|
stage('deploy franz') {
|
2022-11-30 15:52:25 -05:00
|
|
|
steps {
|
2022-11-30 18:04:00 -05:00
|
|
|
sh 'dotnet nuget push ./*.nupkg --source gitea --skip-duplicate'
|
2022-11-30 15:52:25 -05:00
|
|
|
}
|
|
|
|
}
|
2022-11-30 18:35:08 -05:00
|
|
|
stage('build lister') {
|
|
|
|
steps {
|
|
|
|
echo 'franz'
|
|
|
|
sh 'dotnet publish topiclister/topiclister.csproj --configuration Release --output ./topiclister'
|
|
|
|
}
|
|
|
|
}
|
2022-11-30 15:52:25 -05:00
|
|
|
}
|
|
|
|
}
|