rmohr / chroot-plugin

A Jenkins plugin which adds support for disposable chroot environments, which can be very usefull for C and C++ projects.
GNU General Public License v3.0
6 stars 15 forks source link

Extra options are only ran on initial pbuilder run #25

Open rabejens opened 8 years ago

rabejens commented 8 years ago

Any extra command line parameters specified in the chroot configuration are only considered at the first run, i.e., when debootstrap runs. The subsequent run, where extra packages are installed, does not take the parameters into account, thus causing the build to fail when a HTTP proxy is specified this way instead of using .pbuilderrc.

rmohr commented 8 years ago

You are right here. I have always assumed that you have the correct pbuilder infrastructure configuration outside of jenkins.

First I am not sure if we really need something additional. What is your use case? Do you have different proxy setups for different build jobs?

Second I see two ways to solve this: