franz/Jenkinsfile
Adam R Grey 086b5776ff
Some checks failed
gitea/franz/pipeline/head There was a failure building this commit
remove dotnet as 'tool'
2023-12-01 18:51:52 -05:00

32 lines
822 B
Groovy

pipeline {
agent any
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!'
}
}
}