franz/Jenkinsfile
Adam R Grey 415b183f8b
Some checks failed
gitea/franz/pipeline/head This commit looks good
gitea.arg.rip/franz/pipeline/head There was a failure building this commit
jenkinsfile references proper nuget source
...hopefully? attempt 000001
2023-12-01 19:04:13 -05:00

32 lines
827 B
Groovy

pipeline {
agent any
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 greyngitea --skip-duplicate'
}
}
stage('build lister') {
steps {
echo 'franz'
sh 'dotnet publish topiclister/topiclister.csproj --configuration Release --output ./topiclister'
}
}
stage ('Clean workspace') {
steps {
cleanWs()
}
}
}
post {
always {
echo 'I will always say Hello again!'
}
}
}