From 476223ad98309242c756c78ca0bb5accc2177f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D1=80=D0=B8=D0=B3=D0=BE=D1=80=D0=B8=D0=B9=20=D0=9F?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=BE=D0=B2?= Date: Sat, 2 May 2026 03:01:18 +0300 Subject: [PATCH] Clean build directories before CMake --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 84fe592..6cd3f48 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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