Hello, I am having an issue with multiple scripts in init.groovy.d, and the scripts failing compilation. Situation: There are 2 scripts
1. The first script installs a bunch of plugins. 2. Second script sets up authentication The second script depends on plugins installed by script 1 (eg: import com.michelin.cio.hudson.plugins.rolestrategy.*) Script 1, invokes a Jenkins restart when it is finished. So Jenkins start its init, compiles and runs script 1, and then attempts to compile script 2, but has not yet completed its restart and doesn't realise the plugins are installed so Script 2 fails compilation. The restart completes and all the scripts are run again, this time successfully. Is there any way to prevent this compilation failure? Thank you Regards Jason [Agility PR Solutions]<https://agilitypr.com/> Jason Grammenos | Operations and Infrastructure Analyst P: 613.232.7797 | Toll-free: 866.545.3745 Work hours: Monday-Friday, 8am-4:30pm ET jason.gramme...@agilitypr.com<mailto:jason.gramme...@agilitypr.com> agilitypr.com<https://agilitypr.com/> (formerly MediaMiser) -- 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/YTOPR0101MB1003831F222090C48417072EE40B0%40YTOPR0101MB1003.CANPRD01.PROD.OUTLOOK.COM. For more options, visit https://groups.google.com/d/optout.