| --- |
| - job-template: |
| name: '{project-name}-{stream}-{subproject}-docker-merge' |
| project-type: freestyle |
| node: 'ubuntu1604-docker-8c-8g' |
| docker-image-name: '' |
| |
| 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}' |
| - docker-image-name: |
| docker-image-name: '{docker-image-name}' |
| |
| scm: |
| - gerrit-trigger-scm: |
| refspec: '' |
| choosing-strategy: 'default' |
| submodule-recursive: '{submodule-recursive}' |
| |
| wrappers: |
| - infra-wrappers: |
| build-timeout: '{build-timeout}' |
| |
| triggers: |
| # 12 AM UTC |
| - timed: 'H 12 * * *' |
| - gerrit-trigger-patch-merged: |
| server: '{server-name}' |
| project: '{project}' |
| branch: '{branch}' |
| files: '{pattern}' |
| |
| builders: |
| |
| - provide-maven-settings: |
| global-settings-file: 'global-settings' |
| settings-file: '{mvn-settings}' |
| |
| - docker-login |
| |
| - maven-target: |
| maven-version: '{maven-version}' |
| pom: '{pom}' |
| goals: 'clean package docker:build docker:push' |
| settings: '{mvn-settings}' |
| settings-type: cfp |
| global-settings: 'global-settings' |
| global-settings-type: cfp |
| properties: |
| - docker.pull.registry=nexus3.onap.org:10001 |
| - docker.push.registry=nexus3.onap.org:10003 |
| |
| publishers: |
| - infra-shiplogs: |
| maven-version: '{maven-version}' |
| |
| - job-template: |
| name: '{project-name}-{stream}-{subproject}-docker-verify' |
| project-type: freestyle |
| node: 'ubuntu1604-docker-8c-8g' |
| docker-image-name: '' |
| |
| 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}' |
| - docker-image-name: |
| docker-image-name: '{docker-image-name}' |
| |
| scm: |
| - gerrit-trigger-scm: |
| refspec: '' |
| choosing-strategy: 'default' |
| submodule-recursive: '{submodule-recursive}' |
| |
| wrappers: |
| - infra-wrappers: |
| build-timeout: '{build-timeout}' |
| |
| triggers: |
| - gerrit-trigger-patch-submitted: |
| server: '{server-name}' |
| project: '{project}' |
| branch: '{branch}' |
| files: '{pattern}' |
| |
| builders: |
| |
| - provide-maven-settings: |
| global-settings-file: 'global-settings' |
| settings-file: '{mvn-settings}' |
| |
| - docker-login |
| |
| - maven-target: |
| maven-version: '{maven-version}' |
| pom: '{pom}' |
| goals: 'clean package docker:build' |
| settings: '{mvn-settings}' |
| settings-type: cfp |
| global-settings: 'global-settings' |
| global-settings-type: cfp |
| properties: |
| - docker.pull.registry=nexus3.onap.org:10001 |
| - docker.push.registry=nexus3.onap.org:10003 |
| |
| publishers: |
| - infra-shiplogs: |
| maven-version: '{maven-version}' |
| |