Hello,
Note that this method runs after the SCM checkout, which probably does not comply with your expectations. You could use
preCheckout() instead.
Generally I would recommend to avoid the BuildWrapper extension point, because it is not Pipeline-compatible by default. In your case you may want to implement SimpleBuildWrapper. Things like
Run Listener offer Pipeline-compatible methods, but it's hard to say if they are applicable in your use-case
Hopefully it helps,
Oleg
среда, 12 июля 2017 г., 10:44:15 UTC+2 пользователь Jean Charles Jabouille написал: