diff --git a/.jenkins/jenkinsfile b/.jenkins/jenkinsfile index 522a02f..c198978 100644 --- a/.jenkins/jenkinsfile +++ b/.jenkins/jenkinsfile @@ -10,15 +10,11 @@ pipeline { agent { docker { image 'mcr.microsoft.com/dotnet/sdk:7.0' - // Run the container on the node specified at the - // top-level of the Pipeline, in the same workspace, - // rather than on a new node entirely: - reuseNode true } } steps { - dotnetRestore project: "Selector.Core.sln" - dotnetBuild project: "Selector.Core.sln" + dotnetRestore project: "Selector.Core.sln" packages: './packages' + sh 'dotnet build --packages ./packages Selector.Core.sln' } }