Now deletes published assets.

This commit is contained in:
Harrison Deng 2022-04-25 03:51:46 -05:00
parent 43c1bc1611
commit a2bbd112d9

6
Jenkinsfile vendored
View File

@ -43,15 +43,15 @@ pipeline {
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, dir: "props-linux-x64", overwrite: true
zip zipFile: "props-win-x64.zip", archive: true, dir: "props-win-x64", overwrite: true
tar file: "props-linux-x64.tar.gz", archive: true, compress: true, dir: "props-linux-x64"
zip zipFile: "props-win-x64.zip", archive: true, dir: "props-win-x64"
}
}
}
}
stage("cleanup") {
steps {
cleanWs(patterns: [[pattern: '**/bin/Release', type: 'INCLUDE']])
cleanWs(patterns: [[pattern: '**/bin/Release', type: 'INCLUDE'], [pattern: 'props-linux-x64*', type: 'INCLUDE'], [pattern: 'props-win-x64*', type: 'INCLUDE']])
}
}
}