mig82 / folder-properties-plugin

A Jenkins plugin for defining properties at folder level which can then be inherited by the jobs contained inside it.
5 stars 10 forks source link

Allow folder properties to be visible at child SCM section #2

Closed sankirthan closed 4 years ago

sankirthan commented 6 years ago

This way SCM url could be parameterized

mig82 commented 5 years ago

Hi @sankirthan,

Could you please point to another plugin that works like this -and maybe even provide a screenshot- so I can better understand what you're looking for and see whether it's a quick fix or not?

Thank you.

sankirthan commented 5 years ago

Hi Miguel, I haven't seen any myself. Just want some properties at the folder level that can be referred from child jobs. Ability to support scm url at a folder level would be tricky.

I ended up just repeating the properties.

Maybe this can all be done if using pipeline scripts. I haven't explored that option.

Regards Sankirthan

On Tue., Feb. 12, 2019, 4:17 a.m. Miguelángel Fernández < notifications@github.com wrote:

Hi @sankirthan https://github.com/sankirthan,

Could you please point to another plugin that works like this -and maybe even provide a screenshot- so I can better understand what you're looking for and see whether it's a quick fix or not?

Thank you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mig82/folder-properties-plugin/issues/2#issuecomment-462680233, or mute the thread https://github.com/notifications/unsubscribe-auth/ARsa881pT3Oeh1cTjPDkR2c3BuenUTdiks5vMoa2gaJpZM4T-M93 .

StefanHirche commented 4 years ago

Maybe it is enough to override runPreCheckout() to return true. It looks like then the setUp runs before SCM code.

mig82 commented 4 years ago

I'm closing this issue in favour of this PR #5 in the jenkinsci repo.