Skip to content

Commit e870d87

Browse files
committed
Display build_info for every wheel file in Jenkins
1 parent e01810d commit e870d87

File tree

1 file changed

+40
-22
lines changed

1 file changed

+40
-22
lines changed

ci/Jenkinsfile.groovy

Lines changed: 40 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,13 @@ ansiColor('xterm') {
256256
/opt/python/cp37-cp37m/bin/python3.7 ci/ext.py wheel --audit && \
257257
/opt/python/cp38-cp38/bin/python3.8 ci/ext.py wheel --audit && \
258258
/opt/python/cp39-cp39/bin/python3.9 ci/ext.py wheel --audit && \
259+
echo "===== Py3.6 Debug =====" && unzip -p dist/*debug*.whl datatable/_build_info.py && \
260+
mv dist/*debug*.whl . && \
261+
echo "===== Py3.6 =====" && unzip -p dist/*cp36*.whl datatable/_build_info.py && \
262+
echo "===== Py3.7 =====" && unzip -p dist/*cp37*.whl datatable/_build_info.py && \
263+
echo "===== Py3.8 =====" && unzip -p dist/*cp38*.whl datatable/_build_info.py && \
264+
echo "===== Py3.9 =====" && unzip -p dist/*cp39*.whl datatable/_build_info.py && \
265+
mv *debug*.whl dist/ && \
259266
ls -la dist"
260267
"""
261268
stash name: 'x86_64-manylinux-debugwheels', includes: "dist/*debug*.whl"
@@ -277,14 +284,18 @@ ansiColor('xterm') {
277284
"DT_BUILD_SUFFIX=${DT_BUILD_SUFFIX}",
278285
"DT_BUILD_NUMBER=${DT_BUILD_NUMBER}"]) {
279286
sh """
280-
. /Users/jenkins/anaconda/bin/activate datatable-py37-with-pandas
281-
python ci/ext.py wheel
282287
. /Users/jenkins/anaconda/bin/activate datatable-py36-with-pandas
283288
python ci/ext.py wheel
289+
. /Users/jenkins/anaconda/bin/activate datatable-py37-with-pandas
290+
python ci/ext.py wheel
284291
. /Users/jenkins/anaconda/bin/activate datatable-py38
285292
python ci/ext.py wheel
286293
. /Users/jenkins/anaconda/bin/activate datatable-py39
287294
python ci/ext.py wheel
295+
echo "===== Py3.6 =====" && unzip -p dist/*cp36*.whl datatable/_build_info.py
296+
echo "===== Py3.7 =====" && unzip -p dist/*cp37*.whl datatable/_build_info.py
297+
echo "===== Py3.8 =====" && unzip -p dist/*cp38*.whl datatable/_build_info.py
298+
echo "===== Py3.9 =====" && unzip -p dist/*cp39*.whl datatable/_build_info.py
288299
ls dist
289300
"""
290301
stash name: 'x86_64-macos-wheels', includes: "dist/*.whl"
@@ -306,26 +317,33 @@ ansiColor('xterm') {
306317
unstash 'datatable-sources'
307318
sh """
308319
docker run \
309-
-u `id -u`:`id -g` \
310-
-e USER=$USER \
311-
-v /etc/passwd:/etc/passwd:ro \
312-
-v /etc/group:/etc/group:ro \
313-
--rm --init \
314-
-v `pwd`:/dot \
315-
-e DT_RELEASE=${DT_RELEASE} \
316-
-e DT_BUILD_SUFFIX=${DT_BUILD_SUFFIX} \
317-
-e DT_BUILD_NUMBER=${DT_BUILD_NUMBER} \
318-
--entrypoint /bin/bash \
319-
${DOCKER_IMAGE_PPC64LE_MANYLINUX} \
320-
-c "cd /dot && \
321-
ls -la && \
322-
ls -la src/datatable && \
323-
/opt/python/cp36-cp36m/bin/python3.6 ci/ext.py debugwheel --audit && \
324-
/opt/python/cp36-cp36m/bin/python3.6 ci/ext.py wheel --audit && \
325-
/opt/python/cp37-cp37m/bin/python3.7 ci/ext.py wheel --audit && \
326-
/opt/python/cp38-cp38/bin/python3.8 ci/ext.py wheel --audit && \
327-
/opt/python/cp39-cp39/bin/python3.9 ci/ext.py wheel --audit && \
328-
ls -la dist"
320+
-u `id -u`:`id -g` \
321+
-e USER=$USER \
322+
-v /etc/passwd:/etc/passwd:ro \
323+
-v /etc/group:/etc/group:ro \
324+
--rm --init \
325+
-v `pwd`:/dot \
326+
-e DT_RELEASE=${DT_RELEASE} \
327+
-e DT_BUILD_SUFFIX=${DT_BUILD_SUFFIX} \
328+
-e DT_BUILD_NUMBER=${DT_BUILD_NUMBER} \
329+
--entrypoint /bin/bash \
330+
${DOCKER_IMAGE_PPC64LE_MANYLINUX} \
331+
-c "cd /dot && \
332+
ls -la && \
333+
ls -la src/datatable && \
334+
/opt/python/cp36-cp36m/bin/python3.6 ci/ext.py debugwheel --audit && \
335+
/opt/python/cp36-cp36m/bin/python3.6 ci/ext.py wheel --audit && \
336+
/opt/python/cp37-cp37m/bin/python3.7 ci/ext.py wheel --audit && \
337+
/opt/python/cp38-cp38/bin/python3.8 ci/ext.py wheel --audit && \
338+
/opt/python/cp39-cp39/bin/python3.9 ci/ext.py wheel --audit && \
339+
echo "===== Py3.6 Debug =====" && unzip -p dist/*debug*.whl datatable/_build_info.py && \
340+
mv dist/*debug*.whl . && \
341+
echo "===== Py3.6 =====" && unzip -p dist/*cp36*.whl datatable/_build_info.py && \
342+
echo "===== Py3.7 =====" && unzip -p dist/*cp37*.whl datatable/_build_info.py && \
343+
echo "===== Py3.8 =====" && unzip -p dist/*cp38*.whl datatable/_build_info.py && \
344+
echo "===== Py3.9 =====" && unzip -p dist/*cp39*.whl datatable/_build_info.py && \
345+
mv *debug*.whl dist/ && \
346+
ls -la dist"
329347
"""
330348
stash name: 'ppc64le-manylinux-debugwheels', includes: "dist/*debug*.whl"
331349
stash name: 'ppc64le-manylinux-wheels', includes: "dist/*.whl", excludes: "dist/*debug*.whl"

0 commit comments

Comments
 (0)