diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-07-06 16:09:15 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-07-06 16:09:15 +0200 |
commit | 801eb72067b8e4ac3e46dbf54d2955e4c20f2553 (patch) | |
tree | 44d25a001522d165e2d2afc682f57ba37210a163 /jjb/moon | |
parent | e7d30f13856514cf078761d68aeccbdc2e85f23f (diff) |
moon: Create verify job
Change-Id: I72d21335f5cbff7dc630b1c2019bb7fa8b0d379f
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/moon')
-rwxr-xr-x | jjb/moon/moon-verify.sh | 3 | ||||
-rw-r--r-- | jjb/moon/moon.yml | 54 |
2 files changed, 57 insertions, 0 deletions
diff --git a/jjb/moon/moon-verify.sh b/jjb/moon/moon-verify.sh new file mode 100755 index 000000000..23bf47c06 --- /dev/null +++ b/jjb/moon/moon-verify.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "Hello World" diff --git a/jjb/moon/moon.yml b/jjb/moon/moon.yml new file mode 100644 index 000000000..0044eb9ec --- /dev/null +++ b/jjb/moon/moon.yml @@ -0,0 +1,54 @@ +- project: + name: moon + + project: '{name}' + + jobs: + - 'moon-verify-{stream}' + + stream: + - master: + branch: '{stream}' + gs-pathname: '' + +- job-template: + name: 'moon-verify-{stream}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - 'opnfv-build-ubuntu-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: + !include-raw: ./moon-verify.sh |