build-user-vars-plugin icon indicating copy to clipboard operation
build-user-vars-plugin copied to clipboard

set variables before checkout

Open kizdebski opened this issue 9 years ago • 5 comments

Can we move providing environment parameters before checkout? Some plugins like jenkins release plugin (my case) run in "Build Environment, not directly in "Build". Effect is that during releasing version variables are not generated yet. Moving variables generation before scm checkout solves such cases.

kizdebski avatar May 10 '16 13:05 kizdebski

Likely addresses https://issues.jenkins-ci.org/browse/JENKINS-32532

oleg-nenashev avatar Oct 25 '16 20:10 oleg-nenashev

Pre-checkout does not actually cover all cases. E.g. if you use a Pre-SCM build step, the info won't be propagated there. Fix like https://github.com/oleg-nenashev/ownership-plugin/commit/9871283990bd76c8f04bb61cfdeb4a1c30159a4c should be a better solution

oleg-nenashev avatar Oct 25 '16 20:10 oleg-nenashev

Pre-checkout does not actually cover all cases. E.g. if you use a Pre-SCM build step, the info won't be propagated there. Fix like oleg-nenashev/ownership-plugin@9871283 should be a better solution

@oleg-nenashev is your observation and suggestion still valid today?

@kizdebski are you still interested in this pull request?

Thanks!

fabiodcasilva avatar Sep 06 '20 00:09 fabiodcasilva

Likely this issue: https://issues.jenkins-ci.org/browse/JENKINS-24277

mamh2021 avatar Sep 06 '20 02:09 mamh2021

@fabiodcasilva I'm interested. On newest version of plugin problem still exists.

kizdebski avatar Nov 06 '20 16:11 kizdebski

this is fixed by https://github.com/jenkinsci/build-user-vars-plugin/pull/24

fabiodcasilva avatar Oct 15 '24 21:10 fabiodcasilva