@@ -562,7 +562,7 @@ def testEdition(edition, os, mode, engine) {
562
562
}
563
563
catch (exc) {
564
564
if (os == 'linux' || os == 'mac' ) {
565
- sh "for i in build core* tmp; do test -e \$ i && mv \"\$ i\" ${arch} || true; done"
565
+ sh "for i in build core* tmp; do test -e \"\$ i \" && mv \"\$ i\" ${arch} || true; done"
566
566
}
567
567
568
568
archiveArtifacts allowEmptyArchive: true,
@@ -574,7 +574,7 @@ def testEdition(edition, os, mode, engine) {
574
574
finally {
575
575
if (os == 'linux' || os == 'mac' ) {
576
576
sh "find log-output -name 'FAILED_*' -exec cp '{}' . ';'"
577
- sh "for i in logs log-output; do test -e \$ i && mv \"\$ i\" ${arch} || true; done"
577
+ sh "for i in logs log-output; do test -e \"\$ i \" && mv \"\$ i\" ${arch} || true; done"
578
578
}
579
579
else if (os == 'windows' ) {
580
580
bat "move logs ${arch}"
@@ -757,7 +757,7 @@ def testResilienceStep(os, engine, foxx) {
757
757
}
758
758
catch (exc) {
759
759
if (os == 'linux' || os == 'mac' ) {
760
- sh "for i in build resilience/core* tmp; do test -e \$ i && mv \"\$ i\" ${arch} || true; done"
760
+ sh "for i in build resilience/core* tmp; do test -e \"\$ i \" && mv \"\$ i\" ${arch} || true; done"
761
761
}
762
762
763
763
archiveArtifacts allowEmptyArchive: true,
@@ -768,7 +768,7 @@ def testResilienceStep(os, engine, foxx) {
768
768
}
769
769
finally {
770
770
if (os == 'linux' || os == 'mac' ) {
771
- sh "for i in log-output; do test -e \$ i && mv \"\$ i\" ${arch}; done"
771
+ sh "for i in log-output; do test -e \"\$ i \" && mv \"\$ i\" ${arch}; done"
772
772
}
773
773
else if (os == 'windows' ) {
774
774
bat "move log-output ${arch}"
@@ -858,7 +858,7 @@ def buildEdition(edition, os) {
858
858
}
859
859
finally {
860
860
if (os == 'linux' || os == 'mac' ) {
861
- sh "for i in log-output; do test -e \$ i && mv \"\$ i\" ${arch} || true; done"
861
+ sh "for i in log-output; do test -e \"\$ i \" && mv \"\$ i\" ${arch} || true; done"
862
862
}
863
863
else if (os == 'windows' ) {
864
864
bat "move log-output ${arch}"
0 commit comments