franz/Jenkinsfile
Adam R Grey 8e42797116
Some checks failed
gitea/franz/pipeline/head There was a failure building this commit
greyn/franz/pipeline/head There was a failure building this commit
maybe the secret name is a string
2023-03-29 22:20:06 -04:00

30 lines
763 B
Groovy

pipeline {
agent any
tools {
dotnetsdk "net7.0"
}
stages {
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!'
}
}
}