Split packages by \n

This commit is contained in:
wpetit 2019-03-12 16:20:51 +01:00
parent 4cb30fa836
commit 78c8a9e74e
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def buildPackage(
} }
packages = sh(script: "find '${destDir}' -name '*.deb' -type f", returnStdout: true) packages = sh(script: "find '${destDir}' -name '*.deb' -type f", returnStdout: true)
.split(' ') .split('\n')
.collect { return it.trim() } .collect { return it.trim() }
.findAll { it != '' } .findAll { it != '' }
} }