From 2d371b271dd95913d46b1a2f179a71a69c548515 Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Wed, 18 Feb 2015 15:57:35 -0500 Subject: Inital commit for jenkins job builder Change-Id: I8c50158e55a6ddb46fd1f74dbc81e668402e089f Signed-off-by: Aric Gardner --- jjb/availability/availability.yml | 66 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 jjb/availability/availability.yml (limited to 'jjb/availability/availability.yml') 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 + -- cgit 1.2.3-korg