> Am 06.07.2019 um 15:32 schrieb Mez Pahlan <[email protected]>:
> 
> Hi everyone!
> 
> Whilst developing a plugin I find it really useful to be able to run hpi:run 
> and quickly get an instance of Jenkins with my plugin that I can test. 
> However this only creates a single Master setup. Is there a better / easier 
> way to quickly get a master-slave setup so I can test how my plugin works in 
> a distributed environment? At the moment I am doing the following:
> 
> 1. hpi:run
> 2. Configure Jeknins -> Manage Nodes -> Add additional slave
> 3. Download the JAR file after setting up the new node
> 4. Run the JAR file in a separate command line process
> 
> This is quite tedious but it works. Am I missing something?
> 

There is no predefined way of doing this. 

For my warnings plugin I created a docker based development environment:
https://github.com/uhafner/warnings-ng-plugin-devenv 
<https://github.com/uhafner/warnings-ng-plugin-devenv>

I think you can simply adapt that to your needs. You can have a look at the 
warnings plugin itself, it has a script to build and deploy the plugin to the 
docker container and restart it.


> Cheers
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/211d4658-f955-424c-a435-6f5f21041b82%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-dev/211d4658-f955-424c-a435-6f5f21041b82%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/24854A4B-D570-4FE1-AEE5-49FA4BE37DE3%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to