Updated Jenkinsfile
Some checks failed
ydeng/props/pipeline/head There was a failure building this commit

This commit is contained in:
Harrison Deng 2024-07-18 02:58:13 +00:00
parent 43d965d1df
commit 3c99b867c9
2 changed files with 4 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -43,7 +43,9 @@ pipeline {
dotnet publish --configuration Release --output output/shop-modules Props.Shop/Props.Shop.sln dotnet publish --configuration Release --output output/shop-modules Props.Shop/Props.Shop.sln
''' '''
fingerprint 'output/shop-modules/**/Props.Shop.*' fingerprint 'output/shop-modules/**/Props.Shop.*'
sh "python3 scripts/load_shop_modules.py" sh '''#!/bin/bash
cp ./Props.Shop/output/shop-modules/**/*.dll ./Props.Shop/output/shop-modules/**/*.deps.json ./Props/shops/.
'''
} }
} }
} }

View File

@ -4,7 +4,7 @@
"build": "webpack --config webpack.prod.js", "build": "webpack --config webpack.prod.js",
"build:dev": "webpack --config webpack.dev.js", "build:dev": "webpack --config webpack.dev.js",
"build:prod": "webpack --config webpack.prod.js", "build:prod": "webpack --config webpack.prod.js",
"postinstall": "python3 ../scripts/clear_webpack_cache.py" "postinstall": "bash ../scripts/clear_webpack_cache.sh"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",