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/doctor | |
parent | 7f2bb72e372babadedadfae030e8825e135f6070 (diff) |
Inital commit for jenkins job builder
Change-Id: I8c50158e55a6ddb46fd1f74dbc81e668402e089f
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/doctor')
-rw-r--r-- | jjb/doctor/.availability.yml.swp | bin | 0 -> 12288 bytes | |||
-rw-r--r-- | jjb/doctor/doctor.cfg | 3 | ||||
-rw-r--r-- | jjb/doctor/doctor.yml | 66 |
3 files changed, 69 insertions, 0 deletions
diff --git a/jjb/doctor/.availability.yml.swp b/jjb/doctor/.availability.yml.swp Binary files differnew file mode 100644 index 000000000..7ca652091 --- /dev/null +++ b/jjb/doctor/.availability.yml.swp 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 + |