have jenkinsfile build lister

This commit is contained in:
Adam R Grey 2022-11-30 18:35:08 -05:00
parent 3fe8da9b12
commit db8e8f5636

12
Jenkinsfile vendored
View File

@ -4,16 +4,22 @@ pipeline {
dotnetsdk 'dotnet6'
}
stages {
stage('Build') {
stage('build franz') {
steps {
echo 'Building..'
echo 'building franz'
sh 'dotnet pack franz/franz.csproj --configuration Release --output ./'
}
}
stage('Deploy') {
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'
}
}
}
}