franz/Jenkinsfile
Adam R Grey 240606336b
Some checks failed
greyn/franz/pipeline/head There was a failure building this commit
gitea/franz/pipeline/head There was a failure building this commit
default run is to list topics
because for some reason auto create is not a thing
2023-05-21 19:02:53 -04:00

35 lines
869 B
Groovy

pipeline {
agent any
tools {
dotnetsdk "net7.0"
}
stages {
stage ('Clean workspace') {
steps {
cleanWs()
}
}
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'
}
}
}
post {
always {
echo 'I will always say Hello again!'
}
}
}