summaryrefslogtreecommitdiffstats
path: root/jjb/opera/opera-project-jobs.yml
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2016-12-16 14:22:47 +0800
committermeimei <meimei@huawei.com>2016-12-21 14:23:43 +0800
commit82b204b01ab8c8ccc8a692e3f8f859aec0420b9f (patch)
tree56f4922eeeaa9a14be6558d4222363eb472a866c /jjb/opera/opera-project-jobs.yml
parentbc36d59615bcf6e22f3efef2635a0fe8fffd8cdd (diff)
[opera] create opera verify/daily/build jobs
Change-Id: Ide4d879106683a9adab5ea4bf195982eadf6bcb8 Signed-off-by: meimei <meimei@huawei.com>
Diffstat (limited to 'jjb/opera/opera-project-jobs.yml')
-rw-r--r--jjb/opera/opera-project-jobs.yml57
1 files changed, 57 insertions, 0 deletions
diff --git a/jjb/opera/opera-project-jobs.yml b/jjb/opera/opera-project-jobs.yml
new file mode 100644
index 000000000..19f066b5f
--- /dev/null
+++ b/jjb/opera/opera-project-jobs.yml
@@ -0,0 +1,57 @@
+- project:
+
+ name: opera-project
+
+ project: 'opera'
+
+ stream:
+ - master:
+ branch: '{stream}'
+ gs-pathname: ''
+
+ jobs:
+ - 'opera-build-{stream}'
+
+########################
+# job templates
+########################
+- job-template:
+ name: 'opera-build-{stream}'
+
+ concurrent: true
+
+ properties:
+ - throttle:
+ enabled: true
+ max-total: 1
+ max-per-node: 1
+ option: 'project'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - 'opnfv-build-ubuntu-defaults'
+ - gerrit-parameter:
+ branch: '{branch}'
+
+ scm:
+ - git-scm
+
+ triggers:
+ - timed: 'H 23 * * *'
+
+ builders:
+ - 'opera-build-macro'
+
+#####################################
+# builder macros
+#####################################
+- builder:
+ name: 'opera-build-macro'
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ echo "Hello world!"
+
+