Kohsuke Kawaguchi
7f7cd71d32
the trunk is toward 1.486-SNAPSHOT
2012-10-02 00:16:07 -07:00
Erik Molekamp
7a4c2aa3c0
Merge branch 'master' of https://github.com/jenkinsci/jenkins into ReopenableRotatingFileOutputStream-windows
2012-10-01 22:53:18 +02:00
Jesse Glick
300bfc463b
[FIXED JENKINS-15369] NPE deleting a slave.
2012-10-01 12:51:06 -04:00
Jesse Glick
7a552e8e02
[FIXED JENKINS-15368] Make View.getProperties synchronize on a safer monitor.
2012-10-01 11:30:42 -04:00
Michael Pailloncy
e6685a700c
do not remove maven installation which does not have a home, like maven installation with automatic installer (bug associated with JENKINS-14510 fix ... sorry..)
2012-10-01 16:31:44 +02:00
Kohsuke Kawaguchi
ead639a1c0
added a convenience method
2012-09-30 14:45:44 -07:00
Kohsuke Kawaguchi
288827f671
Jelly TagScripts no longer keeps Tags in a per-thread cache.
2012-09-29 11:35:18 -07:00
Kohsuke Kawaguchi
6d9cc46dd6
off by one bug.
2012-09-28 18:27:11 -07:00
Kohsuke Kawaguchi
b0fb099292
removed Java6 dependency
2012-09-28 15:44:15 -07:00
Kohsuke Kawaguchi
2cb12bf13b
removing Java6 dependency
2012-09-28 15:31:30 -07:00
Kohsuke Kawaguchi
e2bfcb3ecd
exclude from animal-sniffer (even though with 1.8 this doesn't work as expected)
2012-09-28 15:20:35 -07:00
Kohsuke Kawaguchi
e1fb93aba6
exclude from animal-sniffer
2012-09-28 14:45:37 -07:00
Kohsuke Kawaguchi
2cdc70c17d
if this error happens again, don't let it kill the loading.
2012-09-28 14:44:38 -07:00
Erik Molekamp
5694a7ade2
Fixed ReopenableRotatingFileOutputStream to work on Windows
2012-09-28 22:30:53 +02:00
vjuranek
eb171185b0
Merge pull request #578 from lvotypko/launch-slave
...
Show message that slave has been already launched instead of source not ...
2012-09-27 00:39:53 -07:00
olivier lamy
60846106f3
ArrayList construction not needed all the time
2012-09-27 00:31:06 +02:00
Joel Johnson
3aaac809b6
Fixing ClassCastException
...
casting the toArray result will sometimes cause ClassCastExceptions.
i.e.:
Caused by: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
at hudson.security.WhoAmI.getAuthorities(WhoAmI.java:65)
2012-09-26 15:31:44 -06:00
lvotypko
03ebdc865a
Show message that slave has been already launched instead of source not found
2012-09-26 21:56:29 +02:00
Jesse Glick
2dd76bd91b
Display authorities at /user/* for convenience.
2012-09-25 17:08:17 -04:00
Ulli Hafner
bcb144e912
Merge pull request #427 from kmaehashi/summary-utf8
...
[FIXED JENKINS-15297] Add explicit charset declaration to summary page to prevent stacktrace from being displayed mangled
2012-09-25 03:41:27 -07:00
Erik Molekamp
7b9becc8ea
Merge branch 'master' of https://github.com/jenkinsci/jenkins
2012-09-24 22:26:31 +02:00
Erik Molekamp
8fb12c5a91
Fix XStreamDOMTest for Windows
2012-09-24 20:47:58 +02:00
Kohsuke Kawaguchi
2a80811ed3
Merged the lazy-load branch
2012-09-24 08:23:07 -07:00
Kohsuke Kawaguchi
332b4e10e2
the trunk is toward 1.485-SNAPSHOT
2012-09-23 20:56:02 -07:00
Vojtech Juranek
452f4f1c74
[Fixed JENKINS-15277] Check permissions before showing config page as we did in all other cases
2012-09-22 11:46:04 +02:00
Kohsuke Kawaguchi
4b4d35d241
Missing @since
2012-09-21 15:59:28 -07:00
Kohsuke Kawaguchi
550afcc9d7
simplification
2012-09-21 15:39:53 -07:00
Kohsuke Kawaguchi
7917ccb723
reducing variable scope
2012-09-21 15:39:26 -07:00
Kohsuke Kawaguchi
1f38518f53
Fixing concurrency problems.
...
The following bug report from olamy made me look hard at the code, but I'm not spotting an obvious problem.
The binary search algorithm here seems to always satisfy the invariant of 0<=lo<=pivot<=hi<=size, so I can't understand how lo==size+1 at the end, for this to happen.
So the only thing I can think of is concurrency related, which is indeed buggy --- we are editing indices after they are set to instance fields, which violates the copy-on-write semantics. This commit fixes that.
Sep 21, 2012 9:38:35 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading job MahoutQM
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at jenkins.model.lazy.SortedList.get(SortedList.java:60)
at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:381)
at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:243)
at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:998)
at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:184)
at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:665)
at hudson.maven.MavenModule.updateTransientActions(MavenModule.java:411)
at hudson.model.AbstractProject.onLoad(AbstractProject.java:299)
at hudson.maven.MavenModule.onLoad(MavenModule.java:236)
at hudson.model.Items.load(Items.java:221)
at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99)
2012-09-21 15:38:14 -07:00
Kohsuke Kawaguchi
de15893cc4
tweaking the co-efficient
2012-09-21 14:57:07 -07:00
Kohsuke Kawaguchi
2bc20ad2c7
don't do this by default
2012-09-21 13:35:11 -07:00
Kohsuke Kawaguchi
c32f006fe4
Allow AbstractBuilds to be garbage collected (and reloaded lazy later)
2012-09-21 12:28:26 -07:00
Alfonso Cora
e785437bde
Fix spanish translation for 'build now'
2012-09-21 14:35:10 -03:00
Jesse Glick
23ade1cda5
[FIXED JENKINS-15271] NPE in <code>MatrixProject.onLoad</code>.
2012-09-21 12:52:07 -04:00
Kohsuke Kawaguchi
9e6d8f71ce
build numbers might exhibit some uniformity that makes it problematic with %4==0, so switching to random.
...
The average memory saving should be about the same.
2012-09-21 09:12:50 -07:00
Jesse Glick
61034f7dcf
Test failure.
...
https://ci.jenkins-ci.org/job/jenkins_main_trunk/1943/testReport/junit/org.jvnet.hudson.test/JellyTestSuiteBuilder$JellyCheck/lib_layout_progressiveRendering_jelly/
2012-09-21 09:55:19 -04:00
Kohsuke Kawaguchi
454d0f2b87
Merge branch 'pull-570'
2012-09-20 17:10:06 -07:00
Kohsuke Kawaguchi
90d463b6a2
clarified a bit
2012-09-20 17:09:56 -07:00
Kohsuke Kawaguchi
0b35a03505
Pointless use of eval()
2012-09-20 17:07:17 -07:00
Kohsuke Kawaguchi
e6f3ec4427
Took care of i18n
2012-09-20 16:57:31 -07:00
Kohsuke Kawaguchi
1bc181a9eb
Exception looks bad to admins
2012-09-20 16:18:05 -07:00
Kohsuke Kawaguchi
eb8818641e
avoid recursinv the history forever
2012-09-20 16:17:20 -07:00
Kohsuke Kawaguchi
5ab06c4ae8
Merge remote-tracking branch 'origin/master' into lazy-load
2012-09-20 15:26:59 -07:00
Kohsuke Kawaguchi
c15791c092
doc improvements
2012-09-20 15:10:04 -07:00
Kohsuke Kawaguchi
6043cdc97e
doc improvements
2012-09-20 15:06:53 -07:00
Jesse Glick
4ab9c096bc
Be more resilient against Guice errors.
...
com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance can throw NCDFE, it seems.
2012-09-20 17:58:33 -04:00
Kohsuke Kawaguchi
d11284b152
the registerService call can be slow. run these asynchronously
2012-09-20 14:41:57 -07:00
Kohsuke Kawaguchi
8add095881
added logging
2012-09-20 14:13:49 -07:00
Kohsuke Kawaguchi
07ba368a39
we can't let these fields persisted!
2012-09-20 14:13:38 -07:00
Kohsuke Kawaguchi
f8014d974c
Path might be via symlink that uses build number.
2012-09-20 14:05:53 -07:00