pipeline { agent none stages { stage('Windows x64') { agent { docker { image 'windows-shstk' } } steps { sh 'mkdir -p build/windows' sh "cd build/windows && rm -rf ./* && cmake -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Windows.cmake -DBUILD_NUMBER=${env.BUILD_NUMBER} ../../src" sh 'cd build/windows && make -j4' sh 'cd build/windows && make install -j4' sh 'cd build/windows && make deploy' archiveArtifacts 'release/*.zip' sh 'rm -rf ./build ./bin ./release' } } } }