2022-11-30 15:52:25 -05:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
2023-05-21 19:02:53 -04:00
|
|
|
stage ('Clean workspace') {
|
|
|
|
steps {
|
|
|
|
cleanWs()
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
}
|
2023-12-01 18:51:52 -05:00
|
|
|
post {
|
|
|
|
always {
|
2023-03-29 22:02:52 -04:00
|
|
|
echo 'I will always say Hello again!'
|
|
|
|
}
|
|
|
|
}
|
2022-11-30 15:52:25 -05:00
|
|
|
}
|