+ description: 'Robot command options'
+
+- parameter:
+ name: integration-distribution-git-url
+ parameters:
+ - string:
+ name: DISTROGITURL
+ default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/integration/distribution'
+ description: 'Distribution GIT URL (do not modify)'
+
+- parameter:
+ name: integration-patch-refspec
+ parameters:
+ - string:
+ name: PATCHREFSPEC
+ default: '{branch}'
+ description: 'Integration Patch Refspec'
+
+# Macro: integration-gerrit-scm
+# Operation: this macro downloads a project gerrit
+# Used by: all csit jobs
+
+- scm:
+ name: integration-gerrit-scm
+ scm:
+ - git:
+ credentials-id: '{credentials-id}'
+ url: '$GIT_BASE'
+ basedir: '{basedir}'
+ refspec: '{refspec}'
+ branches:
+ - 'origin/{branch}'
+ skip-tag: true
+ shallow-clone: true
+ choosing-strategy: 'gerrit'
+
+# Macro: integration-distribution-scm
+# Operation: this macro downloads the integration/distribution repo using distribution as basedir
+# Used by: integration-patch-test-{stream} job template
+
+- scm:
+ name: integration-distribution-scm
+ scm:
+ - git:
+ credentials-id: '{credentials-id}'
+ basedir: 'distribution'
+ url: '$DISTROGITURL'
+ refspec: ''
+ branches:
+ - 'origin/{branch}'
+ skip-tag: true
+ shallow-clone: true
+
+# Macro: integration-trigger-patch-submitted
+# Operation: this macro sets a trigger for patch submitted on a path pattern
+# Used by: {project}-verify-csit-* job templates
+
+- trigger:
+ name: integration-trigger-patch-submitted
+ triggers:
+ - gerrit:
+ server-name: 'OpenDaylight'
+ trigger-on:
+ - patchset-created-event:
+ exclude-drafts: 'true'
+ exclude-trivial-rebase: 'false'
+ exclude-no-code-change: 'true'
+ - draft-published-event
+ - comment-added-contains-event:
+ comment-contains-value: 'recheck'
+ - comment-added-contains-event:
+ comment-contains-value: 'reverify'
+ override-votes: true
+ gerrit-build-unstable-verified-value: +1
+ gerrit-build-unstable-codereview-value: 0
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{name}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: 'ANT'
+ pattern: '{pattern}'
+
+# Macro: integration-trigger-patch-merged
+# Operation: this macro sets a trigger for patch merged on a path pattern
+# Used by: not used yet
+
+- trigger:
+ name: integration-trigger-patch-merged
+ triggers:
+ - gerrit:
+ server-name: 'OpenDaylight'
+ trigger-on:
+ - change-merged-event
+ - comment-added-contains-event:
+ comment-contains-value: 'remerge'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{name}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: 'ANT'
+ pattern: '{pattern}'
+
+# Macro: integration-csit-only
+# Operation: this macro sets a trigger on reverse job list
+# Used by: csit -only- job templates
+
+- trigger:
+ name: integration-csit-only
+ triggers:
+ - reverse:
+ jobs: '{jobs}'
+ result: 'success'
+
+# Macro: integration-csit-all
+# Operation: this macro sets a periodic trigger
+# Used by: csit -all- job teamplates
+
+- trigger:
+ name: integration-csit-all
+ triggers:
+ - timed: 'H H * * *'
+
+# Macro: integration-jclouds-controller-mininet
+# Operation: this macro will spin the controller and mininet vms
+# Used by: {project}-csit-* job templates