Removed default runtime from "Props.csproj" and updated in "Jenkinsfile".
This commit is contained in:
parent
47883bfe4a
commit
c75f1e4042
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -39,7 +39,7 @@ pipeline {
|
||||
}
|
||||
stage("Publish") {
|
||||
steps {
|
||||
dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', sdk: 'Default .NET SDK'
|
||||
dotnetPublish configuration: 'Release', project: 'Props', runtime: 'linux-x64', sdk: 'Default .NET SDK', selfContained: true
|
||||
dotnetPublish configuration: 'Release', project: 'Props', runtime: 'win-x64', sdk: 'Default .NET SDK', selfContained: true
|
||||
archiveArtifacts artifacts: 'Props/bin/Release/**/publish/Props*', excludes: '**/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
|
||||
}
|
||||
|
@ -7,7 +7,6 @@
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<SelfContained>true</SelfContained>
|
||||
<PublishTrimmed>false</PublishTrimmed>
|
||||
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
<!-- <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> -->
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
|
Loading…
x
Reference in New Issue
Block a user