- gerrit-maven-stage
- github-maven-stage
+:Comment Trigger: "stage-release" or "stage-maven-release"
+
:Required parameters:
:build-node: The node to run build on.
- gerrit-maven-docker-stage
- github-maven-docker-stage
+:Comment Trigger: "stage-release" or "stage-docker-release"
+
:Required parameters:
:container-public-registry: Docker registry source with base images.
:container-staging-registry: Docker registry target for the deploy action.
+:Optional parameters:
+
+ :gerrit_release_docker_triggers: Override Gerrit Triggers.
+
All other required and optional parameters are identical to the Maven Stage job
described above.
gerrit_release_triggers:
- comment-added-contains-event:
- comment-contains-value: '^Patch Set\s+\d+:\s+stage-release\s*$'
+ comment-contains-value: '^Patch Set\s+\d+:\s+stage-(maven-)?release\s*$'
gerrit_trigger_file_paths:
- compare-type: ANT
triggers:
- timed: "{obj:cron}"
- github-pull-request:
- trigger-phrase: "^build release$"
+ trigger-phrase: "^stage-(maven-)?release$"
only-trigger-phrase: true
status-context: "Maven Release"
permit-all: true
# NO lf-maven-central
- lf-provide-maven-settings-cleanup
+ gerrit_release_docker_triggers:
+ - comment-added-contains-event:
+ comment-contains-value: '^Patch Set\s+\d+:\s+stage-(docker-)?release\s*$'
+
- job-template:
name: "{project-name}-maven-docker-stage-{stream}"
id: gerrit-maven-docker-stage
- timed: "{obj:cron}"
- gerrit:
server-name: "{gerrit-server-name}"
- trigger-on: "{obj:gerrit_release_triggers}"
+ trigger-on: "{obj:gerrit_release_docker_triggers}"
projects:
- project-compare-type: ANT
project-pattern: "{project}"
triggers:
- timed: "{obj:cron}"
- github-pull-request:
- trigger-phrase: "^build release$"
+ trigger-phrase: "^stage-(docker-)?release$"
only-trigger-phrase: true
status-context: "Maven Release"
permit-all: true
--- /dev/null
+---
+fixes:
+ - |
+ Allow lf-maven-stage jobs to be triggered
+ using either "stage-release" or "stage-maven-release".
+ - |
+ Allow lf-maven-docker-stage jobs to be triggered
+ using either "stage-release" or "stage-docker-release".