Jenkinsfile updated.
This commit is contained in:
parent
3d3607d627
commit
b6207c199a
|
@ -10,13 +10,13 @@ pipeline {
|
||||||
|
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
g++ main.cpp sort.h sort.cpp -o test -lgtest -pthread
|
sh "g++ main.cpp sort.h sort.cpp -o test -lgtest -pthread"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
steps {
|
steps {
|
||||||
test --gtest_output=xml:test_report.xml
|
sh "test --gtest_output=xml:test_report.xml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue