-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reload scripts #40
base: master
Are you sure you want to change the base?
Reload scripts #40
Conversation
cc |
You forgot to use a permalink ( |
Sounds like it would solve the issue (whatever that is exactly). This will have effect on more than just that, though. For example, people trying to test the effect of using |
But i not sure, sometimes resources doesn't reload after changes at all... |
Rather than completely turning off caching, which makes interacting with Jenkins in |
Even with this arg changed groovy scripts i.e. in config-detail.groovy in OptionalJobProperty doesn't reload. They reload while there is error and then somewhere cached. @jglick do you have any idea what else to check? |
Just to respond to the ping in Skype from @KostyaSha. I ignore mentions which I find insulting. |
So, |
Then https://github.com/stapler/stapler/blob/7065a603a6dde83f015bd8d600e1692673d37edb/core/src/main/java/org/kohsuke/stapler/lang/KlassNavigator.java#L154 returns groovy from target even if URLClassLoader contains |
Maybe IDEA messing classloaders? |
Sounds like it may be a bug in Stapler. Note that the order would not matter if your IDE automatically copies files from Best to check behavior first without an IDE (using |
Is it default NetBeans behaviour or you jenkins-plugin? |
Default behavior. |
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/model/Jenkins.java#L4832
Seems groovy reload doesn't work without it.
This change is