File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ tasks.register("importDocumentLibraryStructure") {
125125tasks. register(" shareWorkspace" ) {
126126 doLast {
127127 String fileListFileName = " shared_workspaces/workspace_${ config.namespace} _${ timestamp} .txt"
128- String archiveFileName = " shared_workspaces/workspace_${ config.namespace} _${ timestamp} .zip "
128+ String archiveFileName = " shared_workspaces/workspace_${ config.namespace} _${ timestamp} .7z "
129129
130130 file(fileListFileName). text = fileTree(' .' ) {
131131 exclude " .gitkeep"
@@ -153,7 +153,7 @@ tasks.register("shareWorkspace") {
153153 }. join(" \n " )
154154
155155 try {
156- waitForCommand(" 7z a -bsp2 ${ archiveFileName} -i@${ fileListFileName} " )
156+ waitForCommand(" 7z a -m0=lzma2 -mx=1 - bsp2 ${ archiveFileName} -i@${ fileListFileName} " )
157157 }
158158 finally {
159159 file(fileListFileName). delete()
You can’t perform that action at this time.
0 commit comments