- email-prefix: '[integration]'
-
-# Template: integration-patch-distribution-{stream}
-# Goal: Build a patch and make sure the distribution can deploy with this change
-# Operation: This job template builds a patch, creates a distribution containing the patch, and
-# triggers the distribution deploy test
-
-- job-template:
- name: 'integration-patch-distribution-{stream}'
-
- project-type: maven
- node: dynamic_verify
- jdk: '{jdk}'
-
- logrotate:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - gerrit-project-parameter:
- project: '$GERRIT_PROJECT'
- - gerrit-refspec-parameter:
- refspec: '$GERRIT_REFSPEC'
- - project-parameter:
- project: '$GERRIT_PROJECT'
- - integration-distribution-git-url
-
- scm:
- - integration-gerrit-scm:
- credentials-id: '{ssh-credentials}'
- basedir: '$GERRIT_PROJECT'
- refspec: '$GERRIT_REFSPEC'
- branch: '{branch}'
- - integration-distribution-scm:
- credentials-id: '{ssh-credentials}'
- branch: '{branch}'
-
- wrappers:
- - build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- triggers:
- - gerrit:
- server-name: 'OpenDaylight'
- trigger-on:
- - comment-added-contains-event:
- comment-contains-value: 'test-distribution'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: '**'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
- skip-vote:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
-
- prebuilders:
- - integration-get-bundle-url
- - inject:
- properties-file: 'bundle.txt'
- - wipe-org-opendaylight-repo
- - maven-target: