Jenkinsfile updated.
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -10,7 +10,7 @@ pipeline {
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh "g++ main.cpp sort.h sort.cpp -o test -lgtest -pthread"
|
||||
sh "g++ main.cpp sort.h sort.cpp -o test -w -lgtest -pthread"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ pipeline {
|
||||
|
||||
post {
|
||||
always {
|
||||
xunit (tools: [ GoogleTest(pattern: './test_report.xml') ])
|
||||
xunit (tools: [ GoogleTest(pattern: 'test_report.xml') ])
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user