Skip to content

Commit

Permalink
ci: fix the script approval for File.Separator
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Jun 15, 2020
1 parent f7a03a6 commit 1838113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ def archiveTestOutput(Map args = [:]) {
def folder = cmd(label: 'Find system-tests', returnStdout: true, script: 'python .ci/scripts/search_system_tests.py').trim()
log(level: 'INFO', text: "system-tests='${folder}'. If no empty then let's create a tarball")
if (folder.trim()) {
def name = folder.replaceAll(File.separator, '-').replaceAll('build', '').replaceAll('^-', '') + '-' + goos()
def name = folder.replaceAll('/', '-').replaceAll('\\\\', '-').replaceAll('build', '').replaceAll('^-', '') + '-' + goos()
tar(file: "${name}.tgz", archive: true, dir: folder)
}
}
Expand Down

0 comments on commit 1838113

Please sign in to comment.