Add option ‘-Djenkins.install.runSetupWizard=false’ to the JAVA_ARGS for 
Jenkins start-up.


From: <jenkinsci-users@googlegroups.com> on behalf of Vikas Kumar 
<vikas...@gmail.com>
Reply-To: "jenkinsci-users@googlegroups.com" <jenkinsci-users@googlegroups.com>
Date: Wednesday, February 15, 2017 at 1:38 AM
To: Jenkins Users <jenkinsci-users@googlegroups.com>
Subject: Groovy Script to Skip Installation of Plugins and Enable Slave

Hello Everyone,

I am trying to automate initialization of Jenkins Docker container and looking 
to automate two parts.



  *   Ignore this part to select plugins. I don't need this as I am installing 
required plugins at the build time


[https://lh3.googleusercontent.com/-gGElyXPcp8o/WKQgILL71mI/AAAAAAAABSc/PR1zR3zjGkYlpkSvJZH0Nkpi4nxfdpmBQCLcB/s400/2017-02-15_19-28-17.png]<https://lh3.googleusercontent.com/-gGElyXPcp8o/WKQgILL71mI/AAAAAAAABSc/PR1zR3zjGkYlpkSvJZH0Nkpi4nxfdpmBQCLcB/s1600/2017-02-15_19-28-17.png>

















  *   Enable Slave -> Master Access Control (listed under Configure System). 
This has been answered 
here<http://stackoverflow.com/questions/41578991/set-enable-slave-%E2%86%92-master-access-control-from-script-console>
 but is not working for Jenkins v2.32.2 (latest as on date).
[https://lh3.googleusercontent.com/-1RlmxRmxhaw/WKQgsUfFKuI/AAAAAAAABSk/22YPsyXPcpAB7GgwYkVSbIaTmEEtXXZFwCLcB/s400/2017-02-15_19-53-00.png]<https://lh3.googleusercontent.com/-1RlmxRmxhaw/WKQgsUfFKuI/AAAAAAAABSk/22YPsyXPcpAB7GgwYkVSbIaTmEEtXXZFwCLcB/s1600/2017-02-15_19-53-00.png>










Thanks,
Vikas
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/76513c7b-3a9c-4acb-b1fb-3375ce033ef9%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/76513c7b-3a9c-4acb-b1fb-3375ce033ef9%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4B065405-A9DA-42FB-9E03-4E7E5BD08167%40cisco.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to