mika / jenkins-debian-glue

Scripts for Debian package/repository handling inside Jenkins
MIT License
131 stars 91 forks source link

RFE: job/git-local hooks for pbuilder #180

Open amarao opened 7 years ago

amarao commented 7 years ago

Hello.

I've started to use JDG to build complicated java package. I found that it needs few scripts to be execute inside chrooted build image at different stages of build process. All those stages are covered by different types of pbuilder hooks and I find them very useful.

One problem is that those hooks are 'jenkins-slave-global'. I think that some way to supply pbuilder with job-local hooks would make everyones (my?) life much easier. Some kind of environment variable 'ADDITIONAL_PBUILDER_HOOKS' or something like that.

Right now I solved my problem by writing hosts hooks from step in jenkins job, but this is very bad: I touch slave configuration from inside job. If only I have a way to add some 'job local' hooks...

Thanks.