From f3d1dc6c1ec970ffaa225cf75b560c41c0d5a09b Mon Sep 17 00:00:00 2001 From: Josep Puigdemont Date: Fri, 15 Apr 2016 16:29:08 +0200 Subject: armband.yml: add daily build job template and script Change-Id: Id268e25655169c6cba06a96e0f2ad3b6731d88f8 Signed-off-by: Josep Puigdemont --- jjb/armband/armband.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'jjb/armband/armband.yml') diff --git a/jjb/armband/armband.yml b/jjb/armband/armband.yml index 8de95c2e1..75c0e7a7b 100644 --- a/jjb/armband/armband.yml +++ b/jjb/armband/armband.yml @@ -59,3 +59,48 @@ builders: - shell: | echo "Nothing to verify!" + +- job-template: + name: 'armband-build-daily-{stream}' + + concurrent: false + + properties: + - throttle: + enabled: true + max-total: 1 + max-per-node: 1 + + parameters: + - project-parameters: + project: '{project}' + - 'arm-build1-defaults' + - choice: + name: FORCE_BUILD + choices: + - 'false' + - 'true' + description: 'Force build even if there are no changes in the armband repo. Default false' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + + triggers: + -pollscm: + cron: '0 H/4 * * *' + + wrappers: + -timeout: + timeout: 360 + fail: true + + builders: + - shell: + !include-raw-escape: ./armband-build.sh + + publishers: + - email: + recipients: josep.puigdemont@enea.com armband@enea.com -- cgit 1.2.3-korg