summaryrefslogtreecommitdiffstats
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
parent7f2bb72e372babadedadfae030e8825e135f6070 (diff)
Inital commit for jenkins job builder
Change-Id: I8c50158e55a6ddb46fd1f74dbc81e668402e089f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
-rw-r--r--jjb/availability/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/availability/availability.cfg3
-rw-r--r--jjb/availability/availability.yml66
-rw-r--r--jjb/copper/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/copper/copper.cfg3
-rw-r--r--jjb/copper/copper.yml66
-rw-r--r--jjb/doctor/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/doctor/doctor.cfg3
-rw-r--r--jjb/doctor/doctor.yml66
-rw-r--r--jjb/fastpathmetrics/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/fastpathmetrics/fastpathmetrics.cfg3
-rw-r--r--jjb/fastpathmetrics/fastpathmetrics.yml66
-rw-r--r--jjb/functest/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/functest/functest.cfg3
-rw-r--r--jjb/functest/functest.yml66
-rw-r--r--jjb/genesis/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/genesis/genesis.cfg3
-rw-r--r--jjb/genesis/genesis.yml66
-rw-r--r--jjb/ipv6/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/ipv6/ipv6.cfg3
-rw-r--r--jjb/ipv6/ipv6.yml66
-rw-r--r--jjb/octopus/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/octopus/octopus.cfg3
-rw-r--r--jjb/octopus/octopus.yml66
-rw-r--r--jjb/parser/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/parser/parser.cfg3
-rw-r--r--jjb/parser/parser.yml66
-rw-r--r--jjb/pharos/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/pharos/pharos.cfg3
-rw-r--r--jjb/pharos/pharos.yml66
-rw-r--r--jjb/promise/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/promise/promise.cfg3
-rw-r--r--jjb/promise/promise.yml66
-rw-r--r--jjb/releng-defaults.yaml11
-rw-r--r--jjb/releng-jobs.yaml110
-rw-r--r--jjb/releng-macros.yaml145
-rw-r--r--jjb/script16
-rw-r--r--jjb/vnf_forwarding_graph/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/vnf_forwarding_graph/vnf_forwarding_graph.cfg3
-rw-r--r--jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml66
-rw-r--r--jjb/vswitchperf/.availability.yml.swpbin0 -> 12288 bytes
-rw-r--r--jjb/vswitchperf/vswitchperf.cfg3
-rw-r--r--jjb/vswitchperf/vswitchperf.yml66
43 files changed, 1179 insertions, 0 deletions
diff --git a/jjb/availability/.availability.yml.swp b/jjb/availability/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/availability/.availability.yml.swp
Binary files differ
diff --git a/jjb/availability/availability.cfg b/jjb/availability/availability.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/availability/availability.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/availability/availability.yml b/jjb/availability/availability.yml
new file mode 100644
index 000000000..101e45434
--- /dev/null
+++ b/jjb/availability/availability.yml
@@ -0,0 +1,66 @@
+- project:
+ name: availability
+ jobs:
+ - 'availability-test'
+ - 'availability-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'availability'
+ somevar: 'foo'
+
+- job-template:
+ name: availability-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from availability"
+
+- job-template:
+ name: 'availability-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 availability {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+
diff --git a/jjb/copper/.availability.yml.swp b/jjb/copper/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/copper/.availability.yml.swp
Binary files differ
diff --git a/jjb/copper/copper.cfg b/jjb/copper/copper.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/copper/copper.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
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
+
diff --git a/jjb/doctor/.availability.yml.swp b/jjb/doctor/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/doctor/.availability.yml.swp
Binary files differ
diff --git a/jjb/doctor/doctor.cfg b/jjb/doctor/doctor.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/doctor/doctor.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/doctor/doctor.yml b/jjb/doctor/doctor.yml
new file mode 100644
index 000000000..b0387deea
--- /dev/null
+++ b/jjb/doctor/doctor.yml
@@ -0,0 +1,66 @@
+- project:
+ name: doctor
+ jobs:
+ - 'doctor-test'
+ - 'doctor-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'doctor'
+ somevar: 'foo'
+
+- job-template:
+ name: doctor-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from doctor"
+
+- job-template:
+ name: 'doctor-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 doctor {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+
diff --git a/jjb/fastpathmetrics/.availability.yml.swp b/jjb/fastpathmetrics/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/fastpathmetrics/.availability.yml.swp
Binary files differ
diff --git a/jjb/fastpathmetrics/fastpathmetrics.cfg b/jjb/fastpathmetrics/fastpathmetrics.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/fastpathmetrics/fastpathmetrics.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/fastpathmetrics/fastpathmetrics.yml b/jjb/fastpathmetrics/fastpathmetrics.yml
new file mode 100644
index 000000000..83eafa331
--- /dev/null
+++ b/jjb/fastpathmetrics/fastpathmetrics.yml
@@ -0,0 +1,66 @@
+- project:
+ name: fastpathmetrics
+ jobs:
+ - 'fastpathmetrics-test'
+ - 'fastpathmetrics-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'fastpathmetrics'
+ somevar: 'foo'
+
+- job-template:
+ name: fastpathmetrics-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from fastpathmetrics"
+
+- job-template:
+ name: 'fastpathmetrics-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 fastpathmetrics {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+
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
+
diff --git a/jjb/genesis/.availability.yml.swp b/jjb/genesis/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/genesis/.availability.yml.swp
Binary files differ
diff --git a/jjb/genesis/genesis.cfg b/jjb/genesis/genesis.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/genesis/genesis.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/genesis/genesis.yml b/jjb/genesis/genesis.yml
new file mode 100644
index 000000000..b5ff9fa41
--- /dev/null
+++ b/jjb/genesis/genesis.yml
@@ -0,0 +1,66 @@
+- project:
+ name: genesis
+ jobs:
+ - 'genesis-test'
+ - 'genesis-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'genesis'
+ somevar: 'foo'
+
+- job-template:
+ name: genesis-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from genesis"
+
+- job-template:
+ name: 'genesis-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 genesis {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+
diff --git a/jjb/ipv6/.availability.yml.swp b/jjb/ipv6/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/ipv6/.availability.yml.swp
Binary files differ
diff --git a/jjb/ipv6/ipv6.cfg b/jjb/ipv6/ipv6.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/ipv6/ipv6.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/ipv6/ipv6.yml b/jjb/ipv6/ipv6.yml
new file mode 100644
index 000000000..0b5e6b2f2
--- /dev/null
+++ b/jjb/ipv6/ipv6.yml
@@ -0,0 +1,66 @@
+- project:
+ name: ipv6
+ jobs:
+ - 'ipv6-test'
+ - 'ipv6-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'ipv6'
+ somevar: 'foo'
+
+- job-template:
+ name: ipv6-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from ipv6"
+
+- job-template:
+ name: 'ipv6-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 ipv6 {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+
diff --git a/jjb/octopus/.availability.yml.swp b/jjb/octopus/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/octopus/.availability.yml.swp
Binary files differ
diff --git a/jjb/octopus/octopus.cfg b/jjb/octopus/octopus.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/octopus/octopus.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/octopus/octopus.yml b/jjb/octopus/octopus.yml
new file mode 100644
index 000000000..125ba5a0c
--- /dev/null
+++ b/jjb/octopus/octopus.yml
@@ -0,0 +1,66 @@
+- project:
+ name: octopus
+ jobs:
+ - 'octopus-test'
+ - 'octopus-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'octopus'
+ somevar: 'foo'
+
+- job-template:
+ name: octopus-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from octopus"
+
+- job-template:
+ name: 'octopus-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 octopus {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+
diff --git a/jjb/parser/.availability.yml.swp b/jjb/parser/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/parser/.availability.yml.swp
Binary files differ
diff --git a/jjb/parser/parser.cfg b/jjb/parser/parser.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/parser/parser.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/parser/parser.yml b/jjb/parser/parser.yml
new file mode 100644
index 000000000..3cbe53073
--- /dev/null
+++ b/jjb/parser/parser.yml
@@ -0,0 +1,66 @@
+- project:
+ name: parser
+ jobs:
+ - 'parser-test'
+ - 'parser-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'parser'
+ somevar: 'foo'
+
+- job-template:
+ name: parser-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from parser"
+
+- job-template:
+ name: 'parser-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 parser {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+
diff --git a/jjb/pharos/.availability.yml.swp b/jjb/pharos/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/pharos/.availability.yml.swp
Binary files differ
diff --git a/jjb/pharos/pharos.cfg b/jjb/pharos/pharos.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/pharos/pharos.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/pharos/pharos.yml b/jjb/pharos/pharos.yml
new file mode 100644
index 000000000..dbe57ad4d
--- /dev/null
+++ b/jjb/pharos/pharos.yml
@@ -0,0 +1,66 @@
+- project:
+ name: pharos
+ jobs:
+ - 'pharos-test'
+ - 'pharos-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'pharos'
+ somevar: 'foo'
+
+- job-template:
+ name: pharos-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from pharos"
+
+- job-template:
+ name: 'pharos-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 pharos {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+
diff --git a/jjb/promise/.availability.yml.swp b/jjb/promise/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/promise/.availability.yml.swp
Binary files differ
diff --git a/jjb/promise/promise.cfg b/jjb/promise/promise.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/promise/promise.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/promise/promise.yml b/jjb/promise/promise.yml
new file mode 100644
index 000000000..07e26b19b
--- /dev/null
+++ b/jjb/promise/promise.yml
@@ -0,0 +1,66 @@
+- project:
+ name: promise
+ jobs:
+ - 'promise-test'
+ - 'promise-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'promise'
+ somevar: 'foo'
+
+- job-template:
+ name: promise-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from promise"
+
+- job-template:
+ name: 'promise-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 promise {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+
diff --git a/jjb/releng-defaults.yaml b/jjb/releng-defaults.yaml
new file mode 100644
index 000000000..09114ec7d
--- /dev/null
+++ b/jjb/releng-defaults.yaml
@@ -0,0 +1,11 @@
+# jjb defaults
+
+- defaults:
+ name: global
+
+ build-days-to-keep: 30
+ build-num-to-keep: 40
+ build-artifact-days-to-keep: -1
+ build-artifact-num-to-keep: 5
+
+ ssh-credentials: 'b241a488-1acc-4264-a010-2db3acb07fb0'
diff --git a/jjb/releng-jobs.yaml b/jjb/releng-jobs.yaml
new file mode 100644
index 000000000..fe8f50f76
--- /dev/null
+++ b/jjb/releng-jobs.yaml
@@ -0,0 +1,110 @@
+- project:
+ name: builder-jobs
+ jobs:
+ - 'builder-verify-jjb'
+ - 'builder-merge'
+
+ project: 'releng'
+
+- job-template:
+ name: builder-verify-jjb
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - ssh-agent-credentials:
+ user: '{ssh-credentials}'
+
+ triggers:
+ - gerrit:
+ trigger-on:
+ - patchset-created-event:
+ exclude-drafts: 'false'
+ exclude-trivial-rebase: 'false'
+ exclude-no-code-change: 'false'
+ - draft-published-event
+ - comment-added-contains-event:
+ comment-contains-value: 'recheck'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: 'releng'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/master'
+ file-paths:
+ - compare-type: ANT
+ pattern: jjb/**
+ - compare-type: ANT
+ pattern: jjb-templates/**
+
+
+ builders:
+ - shell: |
+ source /opt/virtualenv/jenkins-job-builder/bin/activate
+ jenkins-jobs test /opt/jenkins-ci/builder/
+
+- job-template:
+ name: 'builder-merge'
+
+ # builder-merge job to run JJB update
+ #
+ # This job's purpose is to update all the JJB
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 40
+ artifactDaysToKeep: -1
+ artifactNumToKeep: 5
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: 'master'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ choosing-strategy: 'default'
+
+ wrappers:
+ - ssh-agent-credentials:
+ user: '{ssh-credentials}'
+
+ triggers:
+ - gerrit:
+ trigger-on:
+ - change-merged-event
+ - comment-added-contains-event:
+ comment-contains-value: 'remerge'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: 'releng'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/master'
+ file-paths:
+ - compare-type: ANT
+ pattern: jjb/**
+
+ builders:
+ - shell: |
+ source /opt/virtualenv/jenkins-job-builder/bin/activate
+ jenkins-jobs update --delete-old jjb/
+
diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml
new file mode 100644
index 000000000..2c694c847
--- /dev/null
+++ b/jjb/releng-macros.yaml
@@ -0,0 +1,145 @@
+# OLD Releng macros
+
+- parameter:
+ name: project-parameter
+ parameters:
+ - string:
+ name: PROJECT
+ default: '{project}'
+ description: "JJB configured PROJECT parameter to identify an opnfv Gerrit project"
+
+- parameter:
+ name: gerrit-parameter
+ parameters:
+ - string:
+ name: GERRIT_BRANCH
+ default: '{branch}'
+ description: "JJB configured GERRIT_BRANCH parameter"
+
+- scm:
+ name: git-scm
+ scm:
+ - git:
+ credentials-id: '{credentials-id}'
+ url: '$GIT_BASE'
+ refspec: ''
+ branches:
+ - 'origin/{branch}'
+ skip-tag: true
+ wipe-workspace: true
+
+- scm:
+ name: gerrit-trigger-scm
+ scm:
+ - git:
+ credentials-id: '{credentials-id}'
+ url: '$GIT_BASE'
+ refspec: '{refspec}'
+ branches:
+ - 'origin/$GERRIT_BRANCH'
+ skip-tag: true
+ choosing-strategy: '{choosing-strategy}'
+
+- wrapper:
+ name: build-timeout
+ wrappers:
+ - timeout:
+ type: absolute
+ timeout: 360
+ fail: true
+
+- trigger:
+ name: gerrit-trigger-patch-submitted
+ triggers:
+ - gerrit:
+ server-name: 'gerrit.opnfv.org'
+ trigger-on:
+ - patchset-created-event:
+ exclude-drafts: 'false'
+ exclude-trivial-rebase: 'false'
+ exclude-no-code-change: 'false'
+ - draft-published-event
+ - comment-added-contains-event:
+ comment-contains-value: 'recheck'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{name}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+
+- trigger:
+ name: gerrit-trigger-patch-merged
+ triggers:
+ - gerrit:
+ server-name: 'gerrit.opnfv.org'
+ trigger-on:
+ - change-merged-event
+ - comment-added-contains-event:
+ comment-contains-value: 'remerge'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{name}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+
+- publisher:
+ name: archive-artifacts
+ publishers:
+ - archive:
+ artifacts: '{artifacts}'
+ allow-empty: true
+ fingerprint: true
+ latest-only: true
+
+- publisher:
+ name: email-notification
+ publishers:
+ - email-ext:
+ recipients: 'jenkins@lists.opnfv.org'
+ reply-to:
+ content-type: default
+ subject: '{email-prefix} $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!'
+ body: |
+ $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
+
+ Check console output at $BUILD_URL to view the results.
+ unstable: true
+ fixed: true
+ send-to:
+ - developers
+ - recipients
+
+- publisher:
+ name: jacoco-report
+ publishers:
+ - jacoco:
+ exec-pattern: "**/**.exec"
+ class-pattern: "**/classes"
+ source-pattern: "**/src/main/java"
+ exclusion-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**"
+ status-update: true
+ targets:
+ - branch:
+ healthy: 10
+ unhealthy: 20
+ - method:
+ healthy: 50
+ unhealthy: 40
+
+
+- builder:
+ name: test-macro
+ builders:
+ - shell: 'echo testing macro "test-macro"'
+
+- builder:
+ name: wipe-org-opendaylight-repo
+ builders:
+ - shell: 'if [ -d /tmp/r/org/opendaylight ]; then rm -rf /tmp/r/org/opendaylight; fi'
+
+- builder:
+ name: jacoco-nojava-workaround
+ builders:
+ - shell: 'mkdir -p $WORKSPACE/target/classes'
diff --git a/jjb/script b/jjb/script
new file mode 100644
index 000000000..a3ab79b27
--- /dev/null
+++ b/jjb/script
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+for x in copper fastpathmetrics genesis octopus pharos vswitchperf doctor functest ipv6 parser promise vnf_forwarding_graph
+
+do
+
+echo $x
+#cp -R availability $x/
+cd $x/
+rm -rf availability/
+#mv availability.yml $x.yml
+#mv availability.cfg $x.cfg
+#sed -i -e "s,availability,$x,g" $x.yml
+cd ..
+
+done
diff --git a/jjb/vnf_forwarding_graph/.availability.yml.swp b/jjb/vnf_forwarding_graph/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/vnf_forwarding_graph/.availability.yml.swp
Binary files differ
diff --git a/jjb/vnf_forwarding_graph/vnf_forwarding_graph.cfg b/jjb/vnf_forwarding_graph/vnf_forwarding_graph.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/vnf_forwarding_graph/vnf_forwarding_graph.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml b/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml
new file mode 100644
index 000000000..01e2691f6
--- /dev/null
+++ b/jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml
@@ -0,0 +1,66 @@
+- project:
+ name: vnf_forwarding_graph
+ jobs:
+ - 'vnf_forwarding_graph-test'
+ - 'vnf_forwarding_graph-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'vnf_forwarding_graph'
+ somevar: 'foo'
+
+- job-template:
+ name: vnf_forwarding_graph-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from vnf_forwarding_graph"
+
+- job-template:
+ name: 'vnf_forwarding_graph-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 vnf_forwarding_graph {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+
diff --git a/jjb/vswitchperf/.availability.yml.swp b/jjb/vswitchperf/.availability.yml.swp
new file mode 100644
index 000000000..7ca652091
--- /dev/null
+++ b/jjb/vswitchperf/.availability.yml.swp
Binary files differ
diff --git a/jjb/vswitchperf/vswitchperf.cfg b/jjb/vswitchperf/vswitchperf.cfg
new file mode 100644
index 000000000..27cff6f0f
--- /dev/null
+++ b/jjb/vswitchperf/vswitchperf.cfg
@@ -0,0 +1,3 @@
+DEPENDENCIES: none
+JOB_TEMPLATES: merge,daily
+BRANCHES: master
diff --git a/jjb/vswitchperf/vswitchperf.yml b/jjb/vswitchperf/vswitchperf.yml
new file mode 100644
index 000000000..4064d27d9
--- /dev/null
+++ b/jjb/vswitchperf/vswitchperf.yml
@@ -0,0 +1,66 @@
+- project:
+ name: vswitchperf
+ jobs:
+ - 'vswitchperf-test'
+ - 'vswitchperf-daily-master'
+
+ # stream: branch with - in place of / (eg. stable-helium)
+ # branch: branch (eg. stable/helium)
+ stream:
+ - master:
+ branch: 'master'
+
+ project: 'vswitchperf'
+ somevar: 'foo'
+
+- job-template:
+ name: vswitchperf-test
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+
+ builders:
+ - shell: |
+ echo "Hello world from vswitchperf"
+
+- job-template:
+ name: 'vswitchperf-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 vswitchperf {somevar} daily"
+ - test-macro
+
+ postbuilders:
+ - test-macro
+