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
835 B

2 weeks ago
pipeline {
agent any
stages {
stage('Checkout') {
steps {
2 weeks ago
git url: 'https://git.comsys.kpi.ua/huk_dmytro/babenko_test_cicd.git', credentialsId: 'access_for_jenkins'
2 weeks ago
}
}
stage('Build') {
steps {
2 weeks ago
bat '"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin\\MSBuild.exe" test_repos.sln /t:Build /p:Configuration=Release'
2 weeks ago
}
}
stage('Test') {
steps {
2 weeks ago
bat '"x64\\Release\\test_repos.exe" --gtest_output="xml:test_report.xml"'
2 weeks ago
}
2 weeks ago
}}
post {
always {
// Publish test results using the junit step
junit 'test_report.xml' // Specify the path to the XML test result files
2 weeks ago
}
2 weeks ago
}
2 weeks ago
}