Disable parallel builds; Retry build if copy fails
This commit is contained in:
parent
4022e1d35a
commit
686c3f0531
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ def doDisableParallelMake(rootSearchFolder = "${WORKSPACE}") {
|
|||
if (isUnix()) {
|
||||
sh """
|
||||
# Looks for "<builder*parallelBuildOn="true"* in all .cproject files and replaces the "true" with "false"
|
||||
find "${rootSearchFolder}" -iname ".cproject" | xargs -iXX sed -i "%s@\(<builder.*parallelBuildOn=\"\)true\(\"\)@\1false\2@g" XX
|
||||
find "${rootSearchFolder}" -iname ".cproject" | xargs -iXX sed -i "%s@\\(<builder.*parallelBuildOn=\\"\\)true\(\\"\\)@\\1false\\2@g" XX
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue