You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
804 B
31 lines
804 B
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Checkout') {
|
|
steps {
|
|
git url: 'https://git.comsys.kpi.ua/student077/lab4.git', credentialsId: 'jenkins_access'
|
|
}
|
|
}
|
|
|
|
stage('Build') {
|
|
steps {
|
|
bat '"D:\\Install\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin\\MSBuild.exe" IT-management-lab4.sln /t:Build /p:Configuration=Release'
|
|
}
|
|
}
|
|
|
|
stage('Test') {
|
|
steps {
|
|
bat "x64\\Debug\\IT-management-lab4.exe --gtest_output=xml:test_report.xml"
|
|
}
|
|
}
|
|
}
|
|
|
|
post {
|
|
always {
|
|
// Publish test results using the junit step
|
|
// Specify the path to the XML test result files
|
|
junit 'test_report.xml'
|
|
}
|
|
}
|
|
}
|
|
|