have jenkinsfile build lister
This commit is contained in:
parent
3fe8da9b12
commit
db8e8f5636
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -4,16 +4,22 @@ pipeline {
|
|||||||
dotnetsdk 'dotnet6'
|
dotnetsdk 'dotnet6'
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('build franz') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Building..'
|
echo 'building franz'
|
||||||
sh 'dotnet pack franz/franz.csproj --configuration Release --output ./'
|
sh 'dotnet pack franz/franz.csproj --configuration Release --output ./'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('deploy franz') {
|
||||||
steps {
|
steps {
|
||||||
sh 'dotnet nuget push ./*.nupkg --source gitea --skip-duplicate'
|
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'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user