summaryrefslogtreecommitdiffstats
path: root/jjb/oom/oom-jobs.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/oom/oom-jobs.yaml')
-rw-r--r--jjb/oom/oom-jobs.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/jjb/oom/oom-jobs.yaml b/jjb/oom/oom-jobs.yaml
new file mode 100644
index 000000000..02eae3fe3
--- /dev/null
+++ b/jjb/oom/oom-jobs.yaml
@@ -0,0 +1,34 @@
+---
+- job-template:
+ name: '{project-name}-{stream}-yaml-lint'
+ node: '{build-node}'
+ type: freestyle
+ build_script: ''
+ pattern: '**'
+
+ parameters:
+ - lf-infra-parameters:
+ branch: '{branch}'
+ project: 'oom/{project-name}'
+ stream: '{stream}'
+ lftools-version: '{lftools-version}'
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: '$GERRIT_REFSPEC'
+ submodule-recursive: '{submodule-recursive}'
+ choosing-strategy: 'gerrit'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ server: '{server-name}'
+ project: 'oom/{project-name}'
+ branch: '{branch}'
+ files: '{obj:pattern}'
+
+ builders:
+ - shell: '{obj:build_script}'
+
+ publishers:
+ - lf-infra-publish
+