summaryrefslogtreecommitdiffstats
path: root/job-cfg
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-02-08 16:47:25 +0100
committerHolger Levsen <holger@layer-acht.org>2016-02-08 16:47:25 +0100
commit410d20bd3db3436244da2468b2388102f7778aba (patch)
tree0f4bb1b1fb3f44e54b940da01ecb597f468dc503 /job-cfg
parentff64f188a3c2c3c75aef3386357aab949f6fe84f (diff)
downloadjenkins.debian.net-410d20bd3db3436244da2468b2388102f7778aba.tar.xz
reproducible fdroid: clone the fdroidserver.git as part of the jenkins job, so the job gets triggered when the git repo gets updated
Diffstat (limited to 'job-cfg')
-rw-r--r--job-cfg/reproducible.yaml52
1 files changed, 51 insertions, 1 deletions
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index b47af4ef..e0a022d6 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -170,6 +170,46 @@
node: '{my_node}'
- defaults:
+ name: reproducible_other_projects_git
+ project-type: freestyle
+ description: *desc
+ properties:
+ - sidebar: *sb1
+ - sidebar: *sb2
+ - sidebar: *sb3
+ - throttle:
+ max-total: 9
+ max-per-node: 9
+ enabled: true
+ option: category
+ categories:
+ - reproducible # no special category yet
+ triggers:
+ - timed: '{my_timed}'
+ - pollscm: '*/6 * * * *'
+ logrotate:
+ daysToKeep: 90
+ numToKeep: 30
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+ builders:
+ - shell: '{my_shell}'
+ publishers:
+ - logparser:
+ parse-rules: '/srv/jenkins/logparse/reproducible-extra.rules'
+ unstable-on-warning: 'true'
+ fail-on-error: 'true'
+ - email:
+ recipients: '{my_recipients}'
+ scm:
+ - git:
+ url: '{my_gitrepo}'
+ branches:
+ - master
+ node: '{my_node}'
+
+
+- defaults:
name: reproducible_other_projects_trigger
project-type: freestyle
description: *desc
@@ -230,6 +270,10 @@
name: '{name}_{otherproject}'
- job-template:
+ defaults: reproducible_other_projects_git
+ name: '{name}_{otherproject_git}'
+
+- job-template:
defaults: reproducible_other_projects_trigger
name: '{name}_{otherproject_triggering}'
@@ -556,12 +600,18 @@
my_timed: '42 23 1 1 *'
my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
my_hname: 'profitbricks3'
+ my_shell: '/srv/jenkins/bin/reproducible_{otherproject}.sh'
+ my_hname: ''
+
+ - '{name}_{otherproject_git}':
+ otherproject_git:
- 'setup_fdroid_build_environment_profitbricks3':
my_description: 'Setup a build environment for F-Droid.'
my_timed: '42 23 1 1 *'
my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
my_hname: 'profitbricks3'
- my_shell: '/srv/jenkins/bin/reproducible_{otherproject}.sh'
+ my_gitrepo: 'https://gitlab.com/fdroid/fdroidserver.git'
+ my_shell: '/srv/jenkins/bin/reproducible_{otherproject_git}.sh'
my_hname: ''
- '{name}_builder_{otherproject}_{my_num}':