-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Tags:
-
Story Points:2
Move all Jenkins job content into the shared library instead of duplicating the content in several repositories.
Describe all maven steps using workflow.yaml
lint: enable: true allowFailure: true preview: enable: true publish: connect: true github: true runFtest: enable: true runUtest: enable: true backend: true frontend: true # multipleEnv: true mcontainers: dev: 'maven' mongodb: 'maven-mongodb' pgsql: 'maven-pgsql' targetTestEnvs: - dev - mongodb - pgsql
The Jenkins file should look like
/* Using a version specifier, such as branch, tag, etc */ @Library('nuxeo-napps-tools@PR-6') _ buildMaven('nuxeo-coldstorage', 'builder-maven-nuxeo-11', 'maven', '2021.6', 'lts-2021', 'ci/workflow.yaml')