summaryrefslogtreecommitdiffstats
path: root/jjb/copper/copper.yml
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2015-02-18 15:57:35 -0500
committerAric Gardner <agardner@linuxfoundation.org>2015-02-18 15:57:35 -0500
commit2d371b271dd95913d46b1a2f179a71a69c548515 (patch)
tree99b56690197b9fcd980596b832762dd3624b9dba /jjb/copper/copper.yml
parent7f2bb72e372babadedadfae030e8825e135f6070 (diff)
Inital commit for jenkins job builder
Change-Id: I8c50158e55a6ddb46fd1f74dbc81e668402e089f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/copper/copper.yml')
-rw-r--r--jjb/copper/copper.yml66
1 files changed, 66 insertions, 0 deletions
diff --git a/jjb/copper/copper.yml b/jjb/copper/copper.yml
new file mode 100644
index 000000000..022425f90
--- /dev/null
+++ b/jjb/copper/copper.yml
@@ -0,0 +1,66 @@
+- project:
+ name: copper
+ jobs:
+ - 'copper-test'
+ - 'copper-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'copper'
+ somevar: 'foo'
+
+- job-template:
+ name: copper-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from copper"
+
+- job-template:
+ name: 'copper-daily-master'
+
+ # Job template for daily builders
+ #
+ # Required Variables:
+ # stream: branch with - in place of / (eg. stable)
+ # branch: branch (eg. stable)
+
+ project-type: freestyle
+ varsetabove: '{somevar}'
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ wrappers:
+ - ssh-agent-credentials:
+ user: '{ssh-credentials}'
+
+ triggers:
+ - timed: 'H H * * *'
+
+ prebuilders:
+ - test-macro
+
+ builders:
+ - shell: |
+ echo "Hello world from copper {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+