Added tar generation and separate fingerprinting.
This commit is contained in:
parent
7d85b8625f
commit
85d8f2bf6f
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -18,8 +18,7 @@ pipeline {
|
|||||||
stage("Publish") {
|
stage("Publish") {
|
||||||
steps {
|
steps {
|
||||||
dotnetPublish configuration: 'Release', noRestore: true, project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true
|
dotnetPublish configuration: 'Release', noRestore: true, project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true
|
||||||
archiveArtifacts artifacts: 'Props.Shop/**/bin/Release/**/publish/Props.Shop.*', excludes: 'Props.Shop/*.Tests/**/*, **/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
|
fingerprint 'Props.Shop/**/bin/Release/**/publish/Props.Shop.*'
|
||||||
archiveArtifacts artifacts: 'Props.Shop/Framework/bin/Release/**/publish/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
|
|
||||||
sh "python3 scripts/load_shop_modules.py"
|
sh "python3 scripts/load_shop_modules.py"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -43,7 +42,9 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
dotnetPublish configuration: 'Release', project: 'Props', runtime: 'linux-x64', selfContained: true
|
dotnetPublish configuration: 'Release', project: 'Props', runtime: 'linux-x64', selfContained: true
|
||||||
dotnetPublish configuration: 'Release', project: 'Props', runtime: 'win-x64', selfContained: true
|
dotnetPublish configuration: 'Release', project: 'Props', runtime: 'win-x64', selfContained: true
|
||||||
archiveArtifacts artifacts: 'Props/bin/Release/**/publish/Props*', excludes: '**/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
|
fingerprint 'Props/bin/Release/**/publish/Props*'
|
||||||
|
tar file: "props-linux-x64", archive: true, compress: true, glob: "Props/bin/Release/**/linux-x64/publish/**/*"
|
||||||
|
tar file: "props-win-x64", archive: true, compress: true, glob: "Props/bin/Release/**/win-x64/publish/**/*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user