X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fvswitchperf%2Fvswitchperf.yml;h=a7b78d1ab4c70e41d1b0b50bd1982422ffc8a869;hb=2141a17cadce1d6d451f501d4038fcacb7b52f8f;hp=16d164736125482a08f209bc374794f64c78e2aa;hpb=0cbd554e24d18a54e8867c3614614f83631fe2c6;p=releng.git diff --git a/jjb/vswitchperf/vswitchperf.yml b/jjb/vswitchperf/vswitchperf.yml index 16d164736..a7b78d1ab 100644 --- a/jjb/vswitchperf/vswitchperf.yml +++ b/jjb/vswitchperf/vswitchperf.yml @@ -1,10 +1,9 @@ - project: name: vswitchperf jobs: - - 'vswitchperf-test' - - 'vswitchperf-daily-master' - - 'vswitchperf-merge' - - 'vswitchperf-verify' + - 'vswitchperf-daily-{stream}' + - 'vswitchperf-merge-{stream}' + - 'vswitchperf-verify-{stream}' # stream: branch with - in place of / (eg. stable-helium) # branch: branch (eg. stable/helium) @@ -16,22 +15,7 @@ somevar: 'foo' - job-template: - name: vswitchperf-test - - project-type: freestyle - - logrotate: - daysToKeep: 30 - numToKeep: 10 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 - - builders: - - shell: | - echo "Hello world from vswitchperf" - -- job-template: - name: 'vswitchperf-daily-master' + name: 'vswitchperf-daily-{stream}' # Job template for daily builders # @@ -39,9 +23,8 @@ # stream: branch with - in place of / (eg. stable) # branch: branch (eg. stable) - project-type: freestyle varsetabove: '{somevar}' - node: fuel + node: opnfv-build logrotate: daysToKeep: '{build-days-to-keep}' @@ -52,6 +35,9 @@ parameters: - project-parameter: project: '{project}' + - string: + name: GIT_BASE + default: https://gerrit.opnfv.org/gerrit/vswitchperf scm: - git-scm: @@ -59,10 +45,6 @@ refspec: '' branch: '{branch}' - wrappers: - - ssh-agent-credentials: - user: '{ssh-credentials}' - triggers: - timed: 'H H * * *' @@ -73,6 +55,7 @@ - shell: | pwd cd src + make clobber make # run basic sanity test make sanity @@ -81,10 +64,19 @@ - test-macro - job-template: - name: 'vswitchperf-verify' + name: 'vswitchperf-verify-{stream}' project-type: freestyle - node: fuel + + node: opnfv-build + + concurrent: true + + properties: + - throttle: + enabled: true + max-total: 3 + max-per-node: 2 logrotate: daysToKeep: 30 @@ -97,16 +89,15 @@ project: '{project}' - gerrit-parameter: branch: 'master' + - string: + name: GIT_BASE + default: https://gerrit.opnfv.org/gerrit/vswitchperf scm: - gerrit-trigger-scm: credentials-id: '{ssh-credentials}' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' - wrappers: - - ssh-agent-credentials: - user: '{ssh-credentials}' - triggers: - gerrit: trigger-on: @@ -125,24 +116,37 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**/master' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**' builders: - shell: | pwd cd src + make clobber make # run basic sanity test make sanity - job-template: - name: 'vswitchperf-merge' + name: 'vswitchperf-merge-{stream}' # builder-merge job to run JJB update # # This job's purpose is to update all the JJB project-type: freestyle - node: fuel + + node: opnfv-build + + concurrent: true + + properties: + - throttle: + enabled: true + max-total: 3 + max-per-node: 2 logrotate: daysToKeep: 30 @@ -155,6 +159,9 @@ project: '{project}' - gerrit-parameter: branch: 'master' + - string: + name: GIT_BASE + default: https://gerrit.opnfv.org/gerrit/vswitchperf scm: - gerrit-trigger-scm: @@ -162,10 +169,6 @@ refspec: '' choosing-strategy: 'default' - wrappers: - - ssh-agent-credentials: - user: '{ssh-credentials}' - triggers: - gerrit: trigger-on: @@ -178,9 +181,13 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**/master' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**' builders: - shell: | pwd cd src + make clobber make