Added archiving and fingerprinting.
Removed win-x64 runtime publish.
This commit is contained in:
parent
f8ad3b2970
commit
2feb46a533
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -16,7 +16,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("Publish") {
|
stage("Publish") {
|
||||||
steps {
|
steps {
|
||||||
dotnetPublish configuration: 'Release', project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true
|
dotnetPublish configuration: 'Debug', project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Load") {
|
stage("Load") {
|
||||||
@ -41,9 +41,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("Publish") {
|
stage("Publish") {
|
||||||
steps {
|
steps {
|
||||||
// TODO: Archive things.
|
dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', sdk: 'Default .NET SDK'
|
||||||
dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', runtime: 'win-x64', sdk: 'Default .NET SDK'
|
archiveArtifacts artifacts: 'bin/**/publish/Props,bin/**/publish/*.pdb', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
|
||||||
dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', runtime: 'linux-x64', sdk: 'Default .NET SDK'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user