using local packages
This commit is contained in:
parent
e0992b2ff2
commit
eb9cea7fef
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user