- gerrit-maven-javadoc-publish
- gerrit-maven-javadoc-verify
- gerrit-maven-merge
- - gerrit-maven-release
- gerrit-maven-sonar
+ - gerrit-maven-stage
- gerrit-maven-verify
- gerrit-maven-verify-dependencies
- github-maven-javadoc-publish
- github-maven-javadoc-verify
- github-maven-merge
- - github-maven-release
- github-maven-sonar
+ - github-maven-stage
- github-maven-verify
project-name: github-maven
:Includes:
- gerrit-maven-clm
- - gerrit-maven-release
+ - gerrit-maven-stage
- gerrit-maven-verify
- gerrit-maven-verify-dependencies
:Includes:
- github-maven-clm
- - github-maven-release
+ - github-maven-stage
- github-maven-verify
{project-name}-maven-javadoc-jobs
:gerrit_trigger_file_paths: Override file paths which can be used to
filter which file modifications will trigger a build.
-Maven Release
--------------
+Maven Stage
+-----------
Produces a release candidate by creating a staging repo in Nexus.
-Runs a Maven build and deploys to $WORKSPACE/m2repo directory. This
-directory can then be reused later to deploy to Nexus.
+The staging repo name is in the format PROJECT-NUMBER for example "aaa-1234",
+"autorelease-2000", "odlparent-1201", etc...
+
+This job runs a Maven build and deploys to $WORKSPACE/m2repo directory. This
+directory is then used later to deploy to Nexus.
:Template Names:
- - {project-name}-maven-release-{stream}
- - gerrit-maven-release
- - github-maven-release
+ - {project-name}-maven-stage-{stream}
+ - gerrit-maven-stage
+ - github-maven-stage
:Required parameters:
jobs:
- gerrit-maven-clm
- gerrit-maven-merge
- - gerrit-maven-release
+ - gerrit-maven-stage
- gerrit-maven-verify
- gerrit-maven-verify-dependencies
jobs:
- github-maven-clm
- github-maven-merge
- - github-maven-release
+ - github-maven-stage
- github-maven-verify
- job-group:
- '{branch}'
included-regions: '{obj:github_included_regions}'
-#################
-# Maven Release #
-#################
+###############
+# Maven Stage #
+###############
-- lf_maven_release: &lf_maven_release
- name: lf-maven-release
+- lf_maven_stage: &lf_maven_stage
+ name: lf-maven-stage
######################
# Default parameters #
gerrit_release_triggers:
- comment-added-contains-event:
- comment-contains-value: build release$
+ comment-contains-value: stage-release$
#####################
# Job Configuration #
- lf-provide-maven-settings-cleanup
- job-template:
- name: '{project-name}-maven-release-{stream}'
- id: gerrit-maven-release
+ name: '{project-name}-maven-stage-{stream}'
+ id: gerrit-maven-stage
<<: *lf_maven_common
# yamllint disable-line rule:key-duplicates
- <<: *lf_maven_release
+ <<: *lf_maven_stage
scm:
- lf-infra-gerrit-scm:
branch-pattern: '**/{branch}'
- job-template:
- name: '{project-name}-maven-release-{stream}'
- id: github-maven-release
+ name: '{project-name}-maven-stage-{stream}'
+ id: github-maven-stage
<<: *lf_maven_common
# yamllint disable-line rule:key-duplicates
- <<: *lf_maven_release
+ <<: *lf_maven_stage
properties:
- lf-infra-properties: