- - trigger-builds:
- - project: "{project-name}-{stream}-docker-golang-shell-daily"
- condition: UNSTABLE_OR_BETTER
- predefined-parameters: |
- UNIQUE_DOCKER_TAG=$BUILD_ID
- block: true
- - trigger-builds:
- - project: "{project-name}-{stream}-csit-{review-functionality}"
- condition: UNSTABLE_OR_BETTER
- predefined-parameters: |
- UNIQUE_DOCKER_TAG=$BUILD_ID
- block: true
+ - lf-maven-versions-plugin:
+ maven-versions-plugin: "{maven-versions-plugin}"
+ version-properties-file: "{version-properties-file}"
+ mvn-version: "{mvn-version}"
+ mvn-pom: "{mvn-pom}"
+ mvn-settings: "{mvn-settings}"
+ - inject:
+ properties-content: |
+ CONTAINER_PULL_REGISTRY={container-public-registry}
+ - lf-maven-build:
+ mvn-goals: "{mvn-goals}"
+ - integration-install-robotframework
+ - inject:
+ properties-file: 'env.properties'
+ - integration-run-project-test
+ - lf-provide-maven-settings-cleanup
+ publishers:
+ - integration-project-robot:
+ unstable-if: 0.0
+ pass-if: 100.0
+ - lf-infra-publish
+ - email:
+ recipients: '{recipients}'
+ notify-every-unstable-build: false
+ send-to-individuals: true
+
+- job-template:
+ # Job template for unified review verification jobs in
+ # project-specific CSIT flow for projects built with maven
+ #
+ # The purpose of this job template is to:
+ # 1. build local snapshot docker images with maven
+ # 2. run CSIT job with the local images
+ # 3. give a verify vote to the triggering review
+ #
+
+ name: '{project-name}-review-verification-maven-{stream}'
+
+ <<: *verification_maven_job_boiler_plate
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+ submodule-recursive: '{submodule-recursive}'