Refactored repo organization. Added Jenkinsfile.

This commit is contained in:
2022-04-24 00:01:55 -05:00
parent 44e072a723
commit 9cc55e516d
36 changed files with 169 additions and 81 deletions

50
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,50 @@
pipeline {
agent any
stages {
stage("Props.Shop") {
stages {
stage("Restore") {
steps {
dotnetRestore project: "Props.Shop/Props.Shop.sln"
dotnetRestore project: "Props.Shop/Props.Shop.Tests.sln"
}
}
stage("Test") {
steps {
dotnetTest project: "Props.Shop/Props.Shop.Tests.sln"
}
}
stage("Publish") {
steps {
dotnetPublish configuration: 'Release', project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true
}
}
stage("Load") {
steps {
sh "python3 scripts/load_shop_modules.py"
}
}
}
}
stage("Props") {
stages {
stage("Restore") {
steps {
dotnetRestore project: "Props"
dotnetRestore project: "Props.Tests"
}
}
stage("Test") {
steps {
dotnetTest project: "Props.Tests"
}
}
stage("Publish") {
steps {
dotnetPublish configuration: 'Release', project: 'Props', selfContained: false, unstableIfWarnings: true
}
}
}
}
}
}