diff --git a/Jenkinsfile b/Jenkinsfile index 267d274..44d41ca 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,10 @@ pipeline { - agent any + agent { + docker { + image 'tqcq/cross' + } + } + options { skipDefaultCheckout(true) } @@ -13,24 +18,13 @@ pipeline { } stage('Configure') { - agent { - docker { - image 'tqcq/cross' - } - } - steps { sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON' } } stage('Build'){ - agent { - docker { - image 'tqcq/cross' - } - } steps { - sh 'cmake --build --target all -- -j`nproc --ignore=4`' + sh 'cmake --build build --target all -- -j`nproc --ignore=4`' } } stage('Deploy') {