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

6 days ago
pipeline {
agent any
stages {
stage('Checkout') {
steps {
6 days ago
git url: 'https://git.comsys.kpi.ua/huk_dmytro/babenko_test_cicd.git', credentialsId: 'access_for_jenkins'
6 days ago
}
}
stage('Build') {
steps {
6 days ago
bat '"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin\\MSBuild.exe" test_repos.sln /p:Configuration=Release'
6 days ago
}
}
stage('Test') {
steps {
6 days ago
bat '"C:\\ProgramData\\Jenkins\\.jenkins\\workspace\\exx\\x64\\Debug\\test_repos.exe" --gtest_output="xml:C:\\ProgramData\\Jenkins\\.jenkins\\workspace\\exx\\x64\\Debug\\"'
6 days ago
}
}
stage('Publish Test Results') {
steps {
junit 'x64/Debug/test_repos.exe.gta.testdurations'
}
}
}
}