diff --git a/Jenkinsfile b/Jenkinsfile index 75d6a38..84fe592 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,25 +6,29 @@ pipeline { agent { label 'linux' } steps { sh ''' + rm -rf build/linux cmake -S . -B build/linux -G Ninja -DCMAKE_BUILD_TYPE=Release cmake --build build/linux ''' } } -stage('Check Windows Agent') { - agent { label 'windows' } - steps { - bat ''' - echo Windows agent works - hostname - where cl - where cmake - where ninja - where git - java -version - ''' - } -} + stage('Check Windows Agent') { + agent { label 'windows' } + steps { + bat ''' + echo Windows agent works + hostname + where cmake + where ninja + where git + java -version + + call "C:\\Program Files\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat" + where cl + cl + ''' + } + } } } \ No newline at end of file