Clean build directories before CMake
This commit is contained in:
Vendored
+2
@@ -6,6 +6,7 @@ pipeline {
|
|||||||
agent { label 'linux' }
|
agent { label 'linux' }
|
||||||
steps {
|
steps {
|
||||||
cleanWs()
|
cleanWs()
|
||||||
|
checkout scm
|
||||||
|
|
||||||
sh '''
|
sh '''
|
||||||
cmake -S . -B build/linux -G Ninja -DCMAKE_BUILD_TYPE=Release
|
cmake -S . -B build/linux -G Ninja -DCMAKE_BUILD_TYPE=Release
|
||||||
@@ -18,6 +19,7 @@ pipeline {
|
|||||||
agent { label 'windows' }
|
agent { label 'windows' }
|
||||||
steps {
|
steps {
|
||||||
cleanWs()
|
cleanWs()
|
||||||
|
checkout scm
|
||||||
|
|
||||||
bat '''
|
bat '''
|
||||||
echo Windows agent works
|
echo Windows agent works
|
||||||
|
|||||||
Reference in New Issue
Block a user