Jenkinsfile updated.
This commit is contained in:
Vendored
+2
-2
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user