Add skeleton for datafile verify job
Change-Id: Ib4a8f3b887873e3d3ea01141d419c83eec282dd5
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
diff --git a/jjb/datafile/datafile-verify-jobs.yaml b/jjb/datafile/datafile-verify-jobs.yaml
new file mode 100644
index 0000000..dd132b2
--- /dev/null
+++ b/jjb/datafile/datafile-verify-jobs.yaml
@@ -0,0 +1,49 @@
+---
+# this job gets triggered when a change is proposed to
+# dcaegen2/collectors/datafile project on Nordix Gerrit.
+- project:
+
+ name: datafile-verify
+
+ project: dcaegen2/collectors/datafile
+
+ stream:
+ - nordix-dev:
+ branch: '{stream}'
+
+ jobs:
+ - datafile-verify-{stream}
+
+
+- job-template:
+ name: datafile-verify-{stream}
+
+ node: ubuntu1804
+
+ disabled: false
+
+ concurrent: true
+
+ parameters:
+ - project-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ - nordix-gerrit-parameters
+
+ scm:
+ - git-scm-gerrit:
+ branch: '{branch}'
+ refspec: $GERRIT_REFSPEC
+
+ triggers:
+ - nordix-gerrit-trigger-patchset-created:
+ project: '{project}'
+ branch: '{branch}'
+ files: '**'
+
+ wrappers:
+ - nordixinfra-jjb-creds-wrapper
+
+ builders:
+ - shell:
+ !include-raw-escape: ./datafile-verify.sh
diff --git a/jjb/datafile/datafile-verify.sh b/jjb/datafile/datafile-verify.sh
new file mode 100755
index 0000000..6b309b7
--- /dev/null
+++ b/jjb/datafile/datafile-verify.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -o errexit
+set -o nounset
+set -o pipefail
+
+echo "Hello World"