Skip to content

Commit de87d72

Browse files
bea0113saintstack
authored andcommitted
HBASE-22920 github pr testing job should use dev-support script (#883)
Signed-off-by: stack <[email protected]> Signed-off-by: Sean Busbey <[email protected]> Signed-off-by: Bharath Vissapragada <[email protected]>
1 parent 3be8ae2 commit de87d72

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

dev-support/Jenkinsfile_GitHub

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)