franz/Jenkinsfile

30 lines
762 B
Plaintext
Raw Normal View History

pipeline {
agent any
2022-11-30 16:11:49 -05:00
tools {
2023-03-29 22:15:29 -04:00
dotnetsdk net 7.0
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'
}
}
}
2023-03-29 22:02:52 -04:00
post {
always {
echo 'I will always say Hello again!'
}
}
}