Added for loop to iterate over all shop modules.
Some checks failed
ydeng/props/pipeline/head There was a failure building this commit
Some checks failed
ydeng/props/pipeline/head There was a failure building this commit
This commit is contained in:
parent
73cc43af3c
commit
9631cb4b6b
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -25,7 +25,11 @@ pipeline {
|
||||
}
|
||||
stage("Publish") {
|
||||
steps {
|
||||
sh 'conda run -n base dotnet publish --configuration Release --output output/shop-modules Props.Shop/**/*.csproj'
|
||||
sh '''#!/bin/bash
|
||||
for file in Props.Shop/**/*.csproj do
|
||||
conda run -n base dotnet publish --configuration Release --output output/shop-modules $file
|
||||
done
|
||||
'''
|
||||
sh 'rm output/shop-modules/**/*.Tests.dll'
|
||||
fingerprint 'output/shop-modules/**/Props.Shop.*'
|
||||
sh 'cp ./Props.Shop/output/shop-modules/**/*.dll ./Props.Shop/output/shop-modules/**/*.deps.json ./Props/shops/.'
|
||||
|
Loading…
Reference in New Issue
Block a user