- Oct 30, 2012
-
-
Olivier Lamy authored
-
Olivier Lamy authored
[FIXED JENKINS-15540] Update logging levels in LogRotator
-
- Oct 29, 2012
-
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
while I can't pinpoint what's really causing this, moving this dependency to core seems to solve the problem. Guava is defined as dependency in org.kohsuke.stapler:stapler, then redefined to a newer version in maven-plugin. The latter gets to plugins as a test scope. When I look at the dependency scope of this in a plugin project in IntelliJ IDEA, it reports this dependency as the test scope (and this makes the error somewhat understandable.)
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
-
- Oct 28, 2012
-
-
Nicolas De loof authored
refactor /manage to use Management links
-
- Oct 27, 2012
-
-
Kohsuke Kawaguchi authored
execScript cannot return value [1], so I'm restricting its use to where we don't care about the return value. See ticket for more discussions [1] http://msdn.microsoft.com/en-us/library/ie/ms536420(v=vs.85).aspx
-
Jesse Glick authored
-
Jesse Glick authored
Does not matter for any handlers used in Jenkins, but can break third-party frameworks. In particular mixpanel-2.1.min.js seems to detect when this mistake is made and somehow disables some Jenkins handlers, causing e.g. “LOADING” to stay on job config pages and breaking behavior.js (but only on Firefox). Using addEventListener/attachEvent where available also works, but this fix is a bit simpler and more general. https://gist.github.com/1930440 would also work but again seems like overkill here. To reproduce: diff --git a/core/src/main/resources/lib/layout/layout.jelly b/core/src/main/resources/lib/layout/layout.jelly index 1fb3fec..c1337c4 100644 --- a/core/src/main/resources/lib/layout/layout.jelly +++ b/core/src/main/resources/lib/layout/layout.jelly @@ -88,6 +88,19 @@ ${h.initPageVariables(context)} <x:doctype name="html" /> <html> <head> +<script type="text/javascript"><![CDATA[ +(function(c,a){window.mixpanel=a;var b,d,h,e;b=c.createElement("script"); + b.type="text/javascript";b.async=!0;b.src=("https:"===c.location.protocol?"https:":"http:")+ + '//cdn.mxpnl.com/libs/mixpanel-2.1.min.js';d=c.getElementsByTagName("script")[0]; + d.parentNode.insertBefore(b,d);a._i=[];a.init=function(b,c,f){function d(a,b){ + var c=b.split(".");2==c.length&&(a=a[c[0]],b=c[1]);a[b]=function(){a.push([b].concat( + Array.prototype.slice.call(arguments,0)))}}var g=a;"undefined"!==typeof f?g=a[f]=[]: + f="mixpanel";g.people=g.people||[];h=['disable','track','track_pageview','track_links', + 'track_forms','register','register_once','unregister','identify','name_tag', + 'set_config','people.identify','people.set','people.increment'];for(e=0;e<h.length;e++)d(g,h[e]); + a._i.push([b,c,f])};a.__SV=1.1;})(document,window.mixpanel||[]); + mixpanel.init("…something valid here…"); +]]></script> ${h.checkPermission(it,permission)} <title>${h.appendIfNotNull(title, ' [Jenkins]', 'Jenkins')}</title>
-
Kohsuke Kawaguchi authored
Integrated a fix made in Stapler.
-
- Oct 26, 2012
-
-
Jesse Glick authored
No need for a special logging level flag; if you are interested in this logger, just set its level to FINE.
-
Nicolas De loof authored
When calculating idle executors, only include Computers which are accepting tasks.
-
Ryan Campbell authored
-
- Oct 25, 2012
-
-
Jesse Glick authored
-
Jesse Glick authored
-
Jesse Glick authored
[FIXED JENKINS-15418] Allow long paths on windows.
-
Jesse Glick authored
-
Erik Lindblad authored
-
Olivier Lamy authored
Reduce the noise caused by MavenArtifactArchiver when Maven artifact archiving is disabled. Thank
-
Vincent Latombe authored
archiving is disabled. Only display one line per execution instead of displaying one line per non-archived file.
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
This needs to be eval, not geval. Plus I forgot to return the value.
-
Kohsuke Kawaguchi authored
Evaluate script in global context. See http://perfectionkills.com/global-eval-what-are-the-options/ for how to evaluate JavaScript in global context.
-
Kohsuke Kawaguchi authored
-
Jesse Glick authored
-
Kohsuke Kawaguchi authored
<script> added via innerText doesn't get executed by itself, so we need to handle them separately in renderOnDemand
-
Kohsuke Kawaguchi authored
-
Jesse Glick authored
-
Kohsuke Kawaguchi authored
-
- Oct 24, 2012
-
-
Kohsuke Kawaguchi authored
-
Kohsuke Kawaguchi authored
This allows us to pass in a proper Launcher that handles all the environment variables without asking individual user to fill in a proper environment variables
-