Clean build directories before CMake

This commit is contained in:
2026-05-02 03:01:18 +03:00
parent 7a0d41b117
commit 476223ad98
Vendored
+4 -1
View File
@@ -5,8 +5,9 @@ pipeline {
stage('Build Linux') {
agent { label 'linux' }
steps {
cleanWs()
sh '''
rm -rf build/linux
cmake -S . -B build/linux -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build/linux
'''
@@ -16,6 +17,8 @@ pipeline {
stage('Check Windows Agent') {
agent { label 'windows' }
steps {
cleanWs()
bat '''
echo Windows agent works
hostname