diff --git a/buildenv/jenkins/common/build.groovy b/buildenv/jenkins/common/build.groovy index ebb35e3d1e3..f03b1f7305a 100644 --- a/buildenv/jenkins/common/build.groovy +++ b/buildenv/jenkins/common/build.groovy @@ -528,7 +528,10 @@ def archive_diagnostics(javaVersionJdkImageDir = null) { findCrashDataCmd += " -o -name 'jitdump.*.dmp'" findCrashDataCmd += " -o -name 'Snap.*.trc'" - if (SPEC.contains('win')) { + if (SPEC.contains('linux')) { + // collect *.debuginfo files to help diagnose omr_ddrgen failures + findCrashDataCmd += " -o -name '*.debuginfo'" + } else if (SPEC.contains('win')) { // collect *.pdb files to help diagnose omr_ddrgen failures findCrashDataCmd += " -o -name '*.pdb'" } else if (SPEC.contains('zos')) {