Customize build artifacts in release.yml
and ci-build.yml
wokflows
#517
Labels
feature
Product feature
release.yml
and ci-build.yml
wokflows
#517
Goal
Currently many projects that need to customize the generated workflows need to exclude them from PK, causing additional maintenance effort for manually updating the workflows when upgrading PK.
Implementation
Configuration
This allows adapting the files attached to a new release. The following options for customizing must be supported:
jar_artifact
: read the artifact name frompom.xml
:maven-assembly-plugin
>configuration
>finalName
document-files-virtual-schema-dist-${vs-common-document-files.version}-s3-${project.version}
sources
in.project-keeper.yml
allow specifying a list of release artifacts paths (evaluated relatively to the source path)${project.version}
in the file nametarget/error_code_report.json
error-code-crawler:aggregate
in the rootpom.xml
.Using custom build artifacts
The custom release artifacts are used in the following places:
release.yml
: For each of the release artifact:ci-build.yml
Open Questions
Out of scope
classes.lst
for the S3 VS withif: always()
(see ci-build.yml)release.yml
andci-build.yml
#519error_code_report.json
for multiple Maven modules. This is done byerror-code-crawler:aggregate
.error-code-crawler:aggregate
is used in the root Maven module. This is a separate issue.Tasks
The text was updated successfully, but these errors were encountered: