name: 'vpp-csit-verify-virl'
project-type: freestyle
- node: verify-merge
- concurrent: false
+ node: verify
+ concurrent: true
logrotate:
daysToKeep: '{build-days-to-keep}'
artifactDaysToKeep: '{build-artifact-days-to-keep}'
artifactNumToKeep: '{build-artifact-num-to-keep}'
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+
scm:
- - zuul-trigger-scm:
+ - gerrit-trigger-scm:
credentials-id: '{ssh-credentials}'
- refspec: '$ZUUL_REF'
- commit: '$ZUUL_COMMIT'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
wrappers:
- ssh-agent-credentials:
users:
- '{ssh-credentials}'
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
builders:
- shell:
!include-raw-escape include-raw-vpp-build.sh
- shell:
!include-raw-escape include-raw-vpp-csit-functional.sh
-
publishers:
- archive-artifacts:
artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
- robot-report:
output-path: 'csit'
+- job-template:
+ name: 'vpp-verify-performance'
+
+ project-type: freestyle
+ node: verify
+ concurrent: false
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit-trigger-manually-triggered:
+ comment-trigger-value: 'verify-perf'
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape include-raw-vpp-build.sh
+ - shell:
+ !include-raw-escape include-raw-vpp-verify-performance.sh
+
+ publishers:
+ - archive-artifacts:
+ artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
+ latest-only: false
+
+ - robot-report:
+ output-path: 'csit'