diff --git a/Jenkinsfile b/Jenkinsfile index 99dd3da..fad4760 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,11 +40,11 @@ pipeline { } stage("Publish") { steps { - dotnetPublish configuration: 'Release', project: 'Props', runtime: 'linux-x64', selfContained: true - dotnetPublish configuration: 'Release', project: 'Props', runtime: 'win-x64', selfContained: true + dotnetPublish configuration: 'Release', outputDirectory: 'props-linux-x64', project: 'Props', runtime: 'linux-x64', selfContained: true + dotnetPublish configuration: 'Release', outputDirectory: 'props-win-x64', project: 'Props', runtime: 'win-x64', selfContained: true fingerprint 'Props/bin/Release/**/publish/Props*' - 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 + tar file: "props-linux-x64.tar.gz", archive: true, compress: true, dir: "props-linux-x64", overwrite: true + zip zipFile: "props-win-x64.zip", archive: true, dir: "props-win-x64", overwrite: true } } }