parameters:
- project-parameter:
project: 'integration'
- - integration-patch-git:
- patch-git: ''
- - integration-patch-refspec:
- patch-refspec: ''
- - integration-patch-git-url:
- patch-git-url: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/$PATCHGIT'
scm:
- integration-gerrit-scm:
- ssh-agent-credentials:
user: '{ssh-credentials}'
+ triggers:
+ - gerrit:
+ server-name: 'OpenDaylight'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'test-integration'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '**'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
+
prebuilders:
- integration-get-bundle-url
- inject:
- wipe-org-opendaylight-repo
- maven-target:
maven-version: '{mvn32}'
- pom: '$PATCHGIT/pom.xml'
+ pom: '$GERRIT_PROJECT/pom.xml'
goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
java-opts:
- '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
default: '{test-options}'
description: 'Robot command options'
-- parameter:
- name: integration-patch-git
- parameters:
- - string:
- name: PATCHGIT
- default: '{patch-git}'
- description: 'Patch GIT repository'
-
-- parameter:
- name: integration-patch-git-url
- parameters:
- - string:
- name: PATCHGITURL
- default: '{patch-git-url}'
- description: 'Patch GIT URL (do not modify)'
-
-- parameter:
- name: integration-patch-refspec
- parameters:
- - string:
- name: PATCHREFSPEC
- default: '{patch-refspec}'
- description: 'Patch Refspec'
-
- scm:
name: integration-gerrit-scm
scm:
- git:
credentials-id: '{credentials-id}'
- url: '$PATCHGITURL'
- basedir: '$PATCHGIT'
- refspec: '$PATCHREFSPEC'
+ url: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/$GERRIT_PROJECT'
+ basedir: '$GERRIT_PROJECT'
+ refspec: '$GERRIT_REFSPEC'
branches:
- 'origin/{branch}'
skip-tag: true