Skip to content

Build all active branches

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

Related issues

Original created by @bertagaz on 6196 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information