From b1ba0065e07df9f3ca527675cd230360f2bb71b2 Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Tue, 20 Mar 2012 15:41:19 -0700 Subject: [PATCH] For fe8f140f041a50ec7c084ce7cc16995871c374b4 to work, the resource path needs to be session local. This has a downside that we waste cache in user browser, especially for plugin developers, but this provides the simplest migration for plugins, and the same code works for pre 1.478 and post 1.478. --- core/src/main/java/jenkins/model/Jenkins.java | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/jenkins/model/Jenkins.java b/core/src/main/java/jenkins/model/Jenkins.java index 150a891453..51a71eea24 100755 --- a/core/src/main/java/jenkins/model/Jenkins.java +++ b/core/src/main/java/jenkins/model/Jenkins.java @@ -755,7 +755,7 @@ public class Jenkins extends AbstractCIBase implements ModifiableItemGroup