pipeline { agent any stages { stage('Checkout') { steps { git url: 'https://git.comsys.kpi.ua/huk_dmytro/babenko_test_cicd.git', credentialsId: 'access_for_jenkins' } } stage('Build') { steps { bat '"C:\\ProgramData\\Jenkins\\.jenkins\\workspace\\exx\\x64\\Debug\\test_repos.exe" --gtest_output="xml:C:\\ProgramData\\Jenkins\\.jenkins\\workspace\\exx\\x64\\Debug\\"' } } stage('Test') { steps { bat 'x64/Debug/test_repos.exe --gtest_output="xml:x64/Debug/"' } } stage('Publish Test Results') { steps { junit 'x64/Debug/test_repos.exe.gta.testdurations' } } } }