summaryrefslogtreecommitdiffstats
path: root/jjb/functest
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/functest
parent7f2bb72e372babadedadfae030e8825e135f6070 (diff)
Inital commit for jenkins job builder
Change-Id: I8c50158e55a6ddb46fd1f74dbc81e668402e089f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/functest/functest.cfg3
-rw-r--r--jjb/functest/functest.yml66
3 files changed, 69 insertions, 0 deletions
diff --git a/jjb/functest/.availability.yml.swp b/jjb/functest/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/functest/.availability.yml.swp
Binary files differ
diff --git a/jjb/functest/functest.cfg b/jjb/functest/functest.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/functest/functest.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml
new file mode 100644
index 000000000..7245260c2
--- /dev/null
+++ b/jjb/functest/functest.yml
@@ -0,0 +1,66 @@
+- project:
+ name: functest
+ jobs:
+ - 'functest-test'
+ - 'functest-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'functest'
+ somevar: 'foo'
+
+- job-template:
+ name: functest-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from functest"
+
+- job-template:
+ name: 'functest-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 functest {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+