@Oleg
I'm following your recommendation:
1) Added a freestyle job triggered via the Startup trigger plugin.
2) In the build section, Execute system Groovy script -> Groovy command
3) Just a single line in that field: hudson.remoting.Engine.current().setJarCache(null)

Running the job throws me a "FATAL: Cannot invoke method setJarCache() on null object".
Doing a print of hudson.remoting.Engine.current() in the same build job shows it as null.

If I do this through "There should be a "Script Console" action on the slave's main page" everything runs fine (and I see that hudson.remoting.Engine.current() is not null).

Would you have any idea why this is?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to