From: Fatih Degirmenci Date: Thu, 18 Oct 2018 13:25:24 +0000 (+0200) Subject: Add skeleton for infra-jjb-verify job X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=refs%2Fchanges%2F14%2F114%2F4;p=infra%2Fcicd.git Add skeleton for infra-jjb-verify job Change-Id: If25f3ea7888719cb736eee138d6fb14b7fb04acf Signed-off-by: Fatih Degirmenci --- diff --git a/jjb/global/jjb-macros.yaml b/jjb/global/jjb-macros.yaml index cfe19edf2..fecd95547 100644 --- a/jjb/global/jjb-macros.yaml +++ b/jjb/global/jjb-macros.yaml @@ -20,6 +20,10 @@ name: PROJECT default: '{project}' description: JJB configured PROJECT parameter to identify a Nordix Gerrit project + - string: + name: BRANCH + default: '{branch}' + description: "JJB configured BRANCH parameter (e.g. master, nordix-dev)" # these parameters are used for streaming changes from various Gerrit Systems - parameter: diff --git a/jjb/infra/jjb-verify.yaml b/jjb/infra/jjb-verify.yaml new file mode 100644 index 000000000..c31eb5cdc --- /dev/null +++ b/jjb/infra/jjb-verify.yaml @@ -0,0 +1,32 @@ +--- +- project: + + name: infra-jjb-verify + + project: 'infra/cicd' + + stream: + - master: + branch: '{stream}' + + jobs: + - infra-jjb-verify-{stream} + + +- job-template: + name: infra-jjb-verify-{stream} + + node: ubuntu1804 + + disabled: false + + parameters: + - project-parameter: + project: '{project}' + branch: '{branch}' + + builders: + - shell: | + #!/bin/bash + + echo "Hello World!"