using local packages

This commit is contained in:
Andy Pack 2023-04-29 15:34:29 +01:00
parent e0992b2ff2
commit eb9cea7fef
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -10,15 +10,11 @@ pipeline {
agent { agent {
docker { docker {
image 'mcr.microsoft.com/dotnet/sdk:7.0' 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 { steps {
dotnetRestore project: "Selector.Core.sln" dotnetRestore project: "Selector.Core.sln" packages: './packages'
dotnetBuild project: "Selector.Core.sln" sh 'dotnet build --packages ./packages Selector.Core.sln'
} }
} }