diff options
author | 2015-12-20 03:27:09 +0100 | |
---|---|---|
committer | 2015-12-21 13:08:06 +0100 | |
commit | 3d1f58b82f02881879a53e3187d91e41b5c08081 (patch) | |
tree | e4b90c4524e6dc2e2b5a11782a36fe9355f9873e /jjb/functest/functest-project-jobs.yml | |
parent | 873d222ce9eb486b178d29c12ccbc7a856ac2233 (diff) |
Refactor functest JJB to prepare for Milestone E
Replace default stream definitions with stream anchors in order
to be able to specify which job on which POD runs against which
branch.
Move project specific verify job to its own file to ease the stream
handling.
Change-Id: I293b35f10b93079394026fa75fb71627ee3b04d4
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/functest/functest-project-jobs.yml')
-rw-r--r-- | jjb/functest/functest-project-jobs.yml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/jjb/functest/functest-project-jobs.yml b/jjb/functest/functest-project-jobs.yml new file mode 100644 index 000000000..e2a5c1afd --- /dev/null +++ b/jjb/functest/functest-project-jobs.yml @@ -0,0 +1,62 @@ +################################################### +# All the jobs except verify have been removed! +# They will only be enabled on request by projects! +################################################### +- project: + name: functest-project-jobs + + project: 'functest' + + jobs: + - 'functest-verify-{stream}' + +# only master branch is enabled at the moment to keep no of jobs sane + stream: + - master: + branch: 'master' + gs-pathname: '' +# - brahmaputra: +# branch: 'stable/brahmaputra' +# gs-pathname: '/brahmaputra' + +- job-template: + name: 'functest-verify-{stream}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - 'opnfv-build-defaults' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + triggers: + - 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: '**/{branch}' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**|.gitignore' + + builders: + - shell: | + echo "Nothing to verify!" |