diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2015-02-18 15:57:35 -0500 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2015-02-18 15:57:35 -0500 |
commit | 2d371b271dd95913d46b1a2f179a71a69c548515 (patch) | |
tree | 99b56690197b9fcd980596b832762dd3624b9dba /jjb/genesis | |
parent | 7f2bb72e372babadedadfae030e8825e135f6070 (diff) |
Inital commit for jenkins job builder
Change-Id: I8c50158e55a6ddb46fd1f74dbc81e668402e089f
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/genesis')
-rw-r--r-- | jjb/genesis/.availability.yml.swp | bin | 0 -> 12288 bytes | |||
-rw-r--r-- | jjb/genesis/genesis.cfg | 3 | ||||
-rw-r--r-- | jjb/genesis/genesis.yml | 66 |
3 files changed, 69 insertions, 0 deletions
diff --git a/jjb/genesis/.availability.yml.swp b/jjb/genesis/.availability.yml.swp Binary files differnew file mode 100644 index 000000000..7ca652091 --- /dev/null +++ b/jjb/genesis/.availability.yml.swp 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 + |