- server: '{server-name}'
- project: '{project}'
- branch: '{branch}'
- files: '{pattern}'
-
- builders:
- - shell: '{script}'
-
- publishers:
- - lf-infra-publish
-
-- job-template:
- # Job template for merging a submission. triggered on
- # gerrit-trigger-patch-merged, does scm, mvn with passed-in goals, then
- # run script
- # Required Variables:
- # branch: git branch
- # script: build script to execute
- # mvn-settings: settings file for this specific job
- # mvn-goals: space separated list of maven build goals (--version
- # for noop, clean deploy for deploy [snapshot])
- name: '{project-name}-{stream}-merge-scm-mvn-script'
-
- project-type: freestyle
- node: 'ubuntu1604-docker-8c-8g'
-
- properties:
- - infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - infra-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - maven-exec:
- maven-version: '{maven-version}'
-
- scm:
- - gerrit-trigger-scm:
- refspec: ''
- choosing-strategy: 'default'
- submodule-recursive: '{submodule-recursive}'