File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,19 +83,8 @@ pipeline {
8383 echo "MAVEN_HOME: ${MAVEN_HOME}"
8484 echo "maven version:"
8585 mvn --offline --version || true
86- echo "getting machine specs, find in ${BUILD_URL}/artifact/patchprocess/machine/"
8786 mkdir "${PATCHDIR}/machine"
88- cat /proc/cpuinfo >"${PATCHDIR}/machine/cpuinfo" 2>&1 || true
89- cat /proc/meminfo >"${PATCHDIR}/machine/meminfo" 2>&1 || true
90- cat /proc/diskstats >"${PATCHDIR}/machine/diskstats" 2>&1 || true
91- cat /sys/block/sda/stat >"${PATCHDIR}/machine/sys-block-sda-stat" 2>&1 || true
92- df -h >"${PATCHDIR}/machine/df-h" 2>&1 || true
93- ps -Awwf >"${PATCHDIR}/machine/ps-Awwf" 2>&1 || true
94- ifconfig -a >"${PATCHDIR}/machine/ifconfig-a" 2>&1 || true
95- lsblk -ta >"${PATCHDIR}/machine/lsblk-ta" 2>&1 || true
96- lsblk -fa >"${PATCHDIR}/machine/lsblk-fa" 2>&1 || true
97- cat /proc/loadavg >"${output}/loadavg" 2>&1 || true
98- ulimit -a >"${PATCHDIR}/machine/ulimit-a" 2>&1 || true
87+ "${SOURCEDIR}/dev-support/gather_machine_environment.sh" "${PATCHDIR}/machine"
9988 ## /H*
10089
10190 # If CHANGE_URL is set (e.g., Github Branch Source plugin), process it.
You can’t perform that action at this time.
0 commit comments