blob: bdb3409d431d222dc8b3bca768ef07fa0179063e [file] [log] [blame]
---
# maven job for 'aaa' repo
- project:
name: aaa
project-name: '{name}'
jobs:
- 'aaa':
branch-regexp: '{supported-branches-regexp}'
- job-template:
id: aaa
name: 'aaa-gerrit'
description: |
<!-- Managed by Jenkins Job Builder -->
Created by {id} job-template from ci-management/jjb/aaa.yaml
node: 'ubuntu16.04-basebuild-1c-2g'
project-type: maven
maven:
root-pom: pom.xml
goals: 'clean install'
parameters:
- string:
name: GERRIT_BRANCH
default: 'master'
description: 'Use default when using "Build Now"'
- string:
name: GERRIT_REFSPEC
default: 'refs/heads/master'
description: 'Use default when using "Build Now"'
triggers:
- cord-infra-gerrit-trigger-patchset:
gerrit-server-name: '{gerrit-server-name}'
project-regexp: 'aaa'
branch-regexp: '{branch-regexp}'
file-include-regexp: '{all-files-regexp}'
dependency-jobs: '{dependency-jobs}'
properties:
- cord-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
artifact-num-to-keep: '{artifact-num-to-keep}'
scm:
- git:
url: '{gerrit-server-url}/aaa'
branches: '$GERRIT_BRANCH'
refspec: '$GERRIT_RECSPEC'
choosing-strategy: 'gerrit'
do-not-fetch-tags: true
shallow-clone: true