diff --git a/Jenkinsfile b/Jenkinsfile index d8b68dd..c0c9c04 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,8 +18,7 @@ pipeline { stage("Publish") { steps { dotnetPublish configuration: 'Release', noRestore: true, project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true - archiveArtifacts artifacts: 'Props.Shop/**/bin/Release/**/publish/Props.Shop.*', excludes: 'Props.Shop/*.Tests/**/*, **/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true - archiveArtifacts artifacts: 'Props.Shop/Framework/bin/Release/**/publish/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + fingerprint 'Props.Shop/**/bin/Release/**/publish/Props.Shop.*' sh "python3 scripts/load_shop_modules.py" } } @@ -43,7 +42,9 @@ pipeline { steps { dotnetPublish configuration: 'Release', project: 'Props', runtime: 'linux-x64', selfContained: true dotnetPublish configuration: 'Release', project: 'Props', runtime: 'win-x64', selfContained: true - archiveArtifacts artifacts: 'Props/bin/Release/**/publish/Props*', excludes: '**/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + fingerprint 'Props/bin/Release/**/publish/Props*' + tar file: "props-linux-x64", archive: true, compress: true, glob: "Props/bin/Release/**/linux-x64/publish/**/*" + tar file: "props-win-x64", archive: true, compress: true, glob: "Props/bin/Release/**/win-x64/publish/**/*" } } }