marcoabreu closed pull request #11348: [MXNET-538] Add XUnit test result
publishing to windows
URL: https://github.com/apache/incubator-mxnet/pull/11348
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/Jenkinsfile b/Jenkinsfile
index cc839171f86..44aad8e006e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -106,7 +106,7 @@ def collect_test_results_unix(original_file_name,
new_file_name) {
def collect_test_results_windows(original_file_name, new_file_name) {
echo 'Saving python test results for ' + new_file_name
// Rename file to make it distinguishable. Unfortunately, it's not
possible to get STAGE_NAME in a parallel stage
- bat 'xcopy ' + original_file_name + ' ' + new_file_name
+ bat 'xcopy ' + original_file_name + ' ' + new_file_name + '*'
archiveArtifacts artifacts: new_file_name
}
@@ -786,8 +786,7 @@ try {
del /S /Q ${env.WORKSPACE}\\pkg_vc14_cpu\\python\\*.pyc
C:\\mxnet\\test_cpu.bat"""
} finally {
- // We are unable to modify test_cpu.bat, so we can't track test
failures on Windows
- // collect_test_results_windows('nosetests.xml',
'nosetests_windows_python2_cpu.xml')
+ collect_test_results_windows('nosetests_unittest.xml',
'nosetests_unittest_windows_python2_cpu.xml')
}
}
}
@@ -809,8 +808,7 @@ try {
del /S /Q ${env.WORKSPACE}\\pkg_vc14_cpu\\python\\*.pyc
C:\\mxnet\\test_cpu.bat"""
} finally {
- // We are unable to modify test_cpu.bat, so we can't track test
failures on Windows
- // collect_test_results_windows('nosetests.xml',
'nosetests_windows_python3_cpu.xml')
+ collect_test_results_windows('nosetests_unittest.xml',
'nosetests_unittest_windows_python3_cpu.xml')
}
}
}
@@ -832,8 +830,8 @@ try {
del /S /Q ${env.WORKSPACE}\\pkg_vc14_gpu\\python\\*.pyc
C:\\mxnet\\test_gpu.bat"""
} finally {
- // We are unable to modify test_cpu.bat, so we can't track test
failures on Windows
- // collect_test_results_windows('nosetests.xml',
'nosetests_windows_python2_gpu.xml')
+ collect_test_results_windows('nosetests_gpu_forward.xml',
'nosetests_gpu_forward_windows_python2_gpu.xml')
+ collect_test_results_windows('nosetests_gpu_operator.xml',
'nosetests_gpu_operator_windows_python2_gpu.xml')
}
}
}
@@ -855,8 +853,8 @@ try {
del /S /Q ${env.WORKSPACE}\\pkg_vc14_gpu\\python\\*.pyc
C:\\mxnet\\test_gpu.bat"""
} finally {
- // We are unable to modify test_cpu.bat, so we can't track test
failures on Windows
- // collect_test_results_windows('nosetests.xml',
'nosetests_windows_python3_gpu.xml')
+ collect_test_results_windows('nosetests_gpu_forward.xml',
'nosetests_gpu_forward_windows_python3_gpu.xml')
+ collect_test_results_windows('nosetests_gpu_operator.xml',
'nosetests_gpu_operator_windows_python3_gpu.xml')
}
}
}
@@ -878,8 +876,8 @@ try {
del /S /Q ${env.WORKSPACE}\\pkg_vc14_gpu_mkldnn\\python\\*.pyc
C:\\mxnet\\test_gpu.bat"""
} finally {
- // We are unable to modify test_cpu.bat, so we can't track test
failures on Windows
- // collect_test_results_windows('nosetests.xml',
'nosetests_windows_python3_mkldnn_Gpu.xml')
+ collect_test_results_windows('nosetests_gpu_forward.xml',
'nosetests_gpu_forward_windows_python3_gpu_mkldnn.xml')
+ collect_test_results_windows('nosetests_gpu_operator.xml',
'nosetests_gpu_operator_windows_python3_gpu_mkldnn.xml')
}
}
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services