we are currently switching our build jobs to the new jenkins pipeline system. We are developing for iOS and are using your KPP-management-plugin for years and are very satisfied. However the current plugin is not supported by jenkins pipelines. That is why i modified the plugin so that it works for both, freestyle and pipeline jobs. I tested it with our old freestyle job and also with our new pipeline job and it works for me. I would be happy if my modifications where merged into your master.
What have I done?
I have changed the BuildWrapper classes so that they are extending the SimpleBuildWrapper class (for pipelines)
I pulled out the tearDown method you provided by the EnvironmentImpl and perform it now with a new Disposer class
The Environment Variables are now added to the context variable that is passed to the setUp Method of SimpleBuildWrapper
The workspace path information is now retrieved from other sources. env("WORKSPACE") is not available for pipeline jobs for example.
Feel free to contact me for questions.
Best regards and thanks for your cool plugin
Andreas
Hi Michael,
we are currently switching our build jobs to the new jenkins pipeline system. We are developing for iOS and are using your KPP-management-plugin for years and are very satisfied. However the current plugin is not supported by jenkins pipelines. That is why i modified the plugin so that it works for both, freestyle and pipeline jobs. I tested it with our old freestyle job and also with our new pipeline job and it works for me. I would be happy if my modifications where merged into your master.
What have I done?
Feel free to contact me for questions.
Best regards and thanks for your cool plugin Andreas