Now deletes published assets.
This commit is contained in:
parent
43c1bc1611
commit
a2bbd112d9
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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']])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user