Build all active branches
Originally created by @bertagaz on #6196 (Redmine)
It sounds possible to bind our Build_Tails_Iso_*
jobs depending on the
activity of a branch.
A possible scenario would be :
* If a branch has a new commit, it is automatically assigned a new job
if any
* If a branch hasn’t been updated since 2 months, its job (if any) are
removed
This would greatly help to save sysadmin work.
Implementation
The addition of a job to build feature/wheezy
(#5601 (closed)) should be a
useful proof-of-concept that can now be generalized. We can’t use job
templates unfortunately (see commit 3720983f in the jenkins-jobs repo
for details). However, we obviously won’t want to manually duplicate all
this job configuration by hand, so a simple script could take as input a
set of branch names, compute job name etc. from that and output
jobs.yaml
.
Further possible improvements
It might also help in having new contributors to enjoy our Jenkins
facility, but that would require them to have access to our tails
repo…
A more probable implementation for that goal would be to have another
job definition in our jenkins-job-builder designed to watch other
contributors repo’s tags or branches.
Parent Task: #5324 (closed)
Subtasks
-
tails#8482 (closed) -
tails#8654 (closed) -
tails#8655 (closed) -
#8656 (closed) -
tails#8657 (closed) -
#8658 (closed) -
tails#8636 (closed) -
tails#8692 (closed) -
#8912 (closed) -
#9350 (closed) -
#6216 (closed) -
tails#9601 (closed) -
tails#9599 (closed) -
#9600 (closed) -
#9660 (closed) -
#9682 (closed)
Related issues
-
Blocked by tails#7221 (closed) -
Blocked by tails#6439 (closed) -
Blocked by #8072 (closed) -
Blocked by #8913 (closed)