From ab6584065bb568daec4abbf81a25bb6988f1aad4 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 25 Apr 2022 03:33:41 -0500 Subject: [PATCH] Added proper file extensions to archived files in pipeline. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c0c9c04..99dd3da 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,8 +43,8 @@ pipeline { dotnetPublish configuration: 'Release', project: 'Props', runtime: 'linux-x64', selfContained: true dotnetPublish configuration: 'Release', project: 'Props', runtime: 'win-x64', selfContained: 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/**/*" + tar file: "props-linux-x64.tar.gz", archive: true, compress: true, glob: "Props/bin/Release/**/linux-x64/publish/**/*", overwrite: true + zip zipFile: "props-win-x64.zip", archive: true, glob: "Props/bin/Release/**/win-x64/publish/**/*", overwrite: true } } }