Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set variables before checkout #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kizdebski
Copy link

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.

@oleg-nenashev
Copy link
Member

@oleg-nenashev
Copy link
Member

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

@fabiodcasilva
Copy link
Contributor

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!

@mamh2021
Copy link

mamh2021 commented Sep 6, 2020

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

@kizdebski
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants