From 801eb72067b8e4ac3e46dbf54d2955e4c20f2553 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Wed, 6 Jul 2016 16:09:15 +0200 Subject: moon: Create verify job Change-Id: I72d21335f5cbff7dc630b1c2019bb7fa8b0d379f Signed-off-by: Fatih Degirmenci --- jjb/moon/moon-verify.sh | 3 +++ jjb/moon/moon.yml | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100755 jjb/moon/moon-verify.sh create mode 100644 jjb/moon/moon.yml 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 -- cgit 1.2.3-korg