add windows ctest to ci
This commit is contained in:
parent
5a4404524e
commit
cc1582e6ef
10
Jenkinsfile2
10
Jenkinsfile2
|
@ -248,6 +248,15 @@ def pre_test_build_win() {
|
||||||
'''
|
'''
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
def run_win_test() {
|
||||||
|
bat '''
|
||||||
|
echo "windows ctest ..."
|
||||||
|
time /t
|
||||||
|
cd C:\\workspace\\%EXECUTOR_NUMBER%\\TDinternal\\debug
|
||||||
|
ctest -j 6 || exit 7
|
||||||
|
time /t
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent none
|
agent none
|
||||||
|
@ -266,6 +275,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
pre_test_win()
|
pre_test_win()
|
||||||
pre_test_build_win()
|
pre_test_build_win()
|
||||||
|
run_win_test()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('linux test') {
|
stage('linux test') {
|
||||||
|
|
Loading…
Reference in New Issue