Chroot: base image as matrix axis

7 views
Skip to first unread message

Simon Richter

unread,
Sep 13, 2018, 8:51:08 AM9/13/18
to jenkins...@googlegroups.com
Hi,

I'd like to build a project against different Linux distributions.

Using the chroot plugin, I can easily set up a chroot for each, but I
need to specify the name of the base image in the project config.

Can I somehow select the chroot base image by a label, so a matrix build
with "debian-stretch", "debian-buster", "debian-sid", "ubuntu-xenial",
... would use the image configured with the appropriate label?

Simon

Baptiste Mathus

unread,
Sep 16, 2018, 7:04:37 AM9/16/18
to jenkins...@googlegroups.com
You lost at the second sentence. Why are you trying to chroot?

Having agents of these different Linux flavors, or using docker images (seems easier if you don't need to actually test a specific kernel or so).

Cheers

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d64d1cab-3025-1742-1fb9-07751bf4638f%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages