X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Favailability%2Favailability.yml;h=763a43c6b1e7e904d1be5af9410267182b382a0e;hb=ac6058d96b50579d5db5b4e4ce58dc7d454e23a2;hp=101e45434645dfbb618c5ab09f6a9000cde0d718;hpb=2d371b271dd95913d46b1a2f179a71a69c548515;p=releng.git diff --git a/jjb/availability/availability.yml b/jjb/availability/availability.yml index 101e45434..763a43c6b 100644 --- a/jjb/availability/availability.yml +++ b/jjb/availability/availability.yml @@ -1,66 +1,62 @@ +################################################### +# All the jobs except verify have been removed! +# They will only be enabled on request by projects! +################################################### - project: name: availability + + project: '{name}' + jobs: - - 'availability-test' - - 'availability-daily-master' + - 'availability-verify-{stream}' - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) +# only master branch is enabled at the moment to keep no of jobs sane stream: - master: branch: 'master' - - project: 'availability' - somevar: 'foo' + gs-pathname: '' +# - stable-brahmaputra: +# branch: 'stable/brahmaputra' +# gs-pathname: '/brahmaputra' - job-template: - name: availability-test - - project-type: freestyle + name: 'availability-verify-{stream}' - logrotate: - daysToKeep: 30 - numToKeep: 10 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{stream}' + - 'opnfv-build-defaults' - builders: - - shell: | - echo "Hello world from availability" - -- job-template: - name: 'availability-daily-master' - - # Job template for daily builders - # - # Required Variables: - # stream: branch with - in place of / (eg. stable) - # branch: branch (eg. stable) - - project-type: freestyle - varsetabove: '{somevar}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - wrappers: - - ssh-agent-credentials: - user: '{ssh-credentials}' + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' triggers: - - timed: 'H H * * *' - - prebuilders: - - test-macro + - gerrit: + trigger-on: + - patchset-created-event: + exclude-drafts: 'false' + exclude-trivial-rebase: 'false' + exclude-no-code-change: 'false' + - draft-published-event + - comment-added-contains-event: + comment-contains-value: 'recheck' + - comment-added-contains-event: + comment-contains-value: 'reverify' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{stream}' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**|.gitignore' builders: - shell: | - echo "Hello world from availability {somevar} daily" - - test-macro - - postbuilders: - - test-macro - + echo "Nothing to verify!"