Commit Graph
17505 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi c7ad5e9706 [JENKINS-15533] testing if the lazy loading can gracefully tolerate a RuntimeException during unmarshalling.
At least in the current version this working as expected
2013-03-13 10:52:05 -07:00
Pei-Tang Huang 6f206beb1f Translate "regression" to "退步" instead of "回歸". 2013-03-13 23:14:08 +08:00
Pei-Tang Huang de9cf6b02c Remove redundant English terms. 2013-03-13 23:14:06 +08:00
Kohsuke Kawaguchi 28bf5d8002 [FIXED JENKINS-15587]
The actual fix was in the pull request #675.
2013-03-12 22:13:26 -07:00
Kohsuke Kawaguchi 2f781863f5 Massaging the fix.
- ID_FORMATTER is time zone sensitive, so comparing against # of
  milliseconds since the epoch won't be portable.

- resolveSymlink can return a relative path.
2013-03-12 22:11:26 -07:00
Kohsuke Kawaguchi f7c9e81060 [JENKINS-16089] Revising 88feabb429
Based on comments from Jesse, revising the fix.

I'm now putting permlinks inside the builds/ directory to avoid the computing hassle involved in the split $JENKINS_HOME.

What we historically had in $JENKINS_HOME/jobs/JOB/lastSuccessfulBuild is also now subsumed by this feature. I initially attempted to create these permalinks in the buidl root directory, but turns out those symlinks aren't the same name as the ID of permalinks, so it doesn't mesh well.

And finally, a test!
2013-03-12 18:22:54 -07:00
Kohsuke Kawaguchi 776c8686b5 oops 2013-03-12 17:23:19 -07:00
Kohsuke Kawaguchi 88feabb429 [FIXED JENKINS-16089]
Remember the permalink target as symlink (or simple text file) so that
looking that up doesn't cause the walk of the build history.
I think this is more in line with our general preference of making
$JENKINS_HOME useful (than trying to persist cache into a blackbox.)

Having a general purpose in-memory cache could be useful, so I'll see if
I can add that, too, in a way that allows someone to plug different
backend.
2013-03-12 14:21:38 -07:00
Kohsuke Kawaguchi 1091476399 improved th probe 2013-03-12 14:19:49 -07:00
Kohsuke Kawaguchi d97b0834c8 Windows symbolic support for Java5/6 2013-03-12 14:19:49 -07:00
Jesse Glick c596ed517c [JENKINS-15156] Noting. 2013-03-12 12:20:43 -04:00
Kohsuke Kawaguchi ffc188a1a5 the trunk is toward 1.507-SNAPSHOT 2013-03-10 21:06:50 -07:00
Kohsuke Kawaguchi 991d81fe91 creating an RC branch 2013-03-10 21:06:45 -07:00
Kohsuke Kawaguchi d3ab221ce2 merged back the RC branch 2013-03-10 18:35:02 -07:00
Kohsuke Kawaguchi 16ff54d649 updated changelog as a part of the release 2013-03-10 18:34:59 -07:00
Kohsuke Kawaguchi efb777f85c updated changelog for release 2013-03-10 17:59:12 -07:00
Kohsuke Kawaguchi 274e579567 [maven-release-plugin] prepare for next development iteration 2013-03-10 17:43:29 -07:00
Kohsuke Kawaguchi f3a7d7aedf [maven-release-plugin] prepare release jenkins-1.505 jenkins-1.505 2013-03-10 17:43:28 -07:00
Pedro Rodriguez 3a202d13a8 fixed compilation error 2013-03-10 18:40:03 -04:00
Pedro Rodriguez d3096819f6 [JENKINS-10502] Option to make the build NOT fail if there is nothing to archive 2013-03-10 01:53:55 -05:00
Pei-Tang Huang 70f81b5145 Update Traditional Chinese translations. 2013-03-10 00:06:42 +08:00
Jesse Glick d98716dfba [FIXED JENKINS-17138] Deleting/renaming jobs using external builds directory does not move builds. 2013-03-08 20:43:49 -05:00
Jesse Glick b90b20227e [FIXED JENKINS-17137] Bogus permalinks created when using external builds directory. 2013-03-08 20:08:00 -05:00
Jesse Glick 915d825327 Further clarification of targetPath. It is not necessarily relative to baseDir! 2013-03-08 19:59:46 -05:00
Jesse Glick 400fa878e6 Verifying that symlink target may be absolute. 2013-03-08 18:55:49 -05:00
Jesse Glick ad4c39f5e2 Clarifying that symlinkPath may not be absolute. 2013-03-08 18:38:56 -05:00
Jesse Glick 1714b76047 Clarification. 2013-03-08 18:30:56 -05:00
Jesse Glick dd3b15bc87 Trivial. 2013-03-08 17:19:39 -05:00
Jesse Glick b75d930fc7 Surefire 2.14. 2013-03-08 14:35:38 -05:00
Vojtech Juranek 42734675f4 [FIXED JENKINS-17128] Unquote labels before processing 2013-03-08 14:04:25 +01:00
Jesse Glick bcdfb2860f [FIXED JENKINS-15796] NoClassDefFoundError: 'Could not initialize class org.jvnet.hudson.Windows$MEMORYSTATUSEX' from SwapSpaceMonitor.
Not fixing actual linkage error—JNA issue of some kind—but ensuring that Jenkins reports it only once.
2013-03-07 18:40:33 -05:00
Jesse Glick ed6678029d Minor typographic improvement. 2013-03-07 18:01:28 -05:00
Jesse Glick fe9a678820 Merge branch 'master' of github.com:jenkinsci/jenkins 2013-03-07 12:34:25 -05:00
Jesse Glick a12b96f780 Setting project.build.sourceEncoding=UTF-8 so that future generations of plugin authors will not get a warning from Maven.
(And so that source files can safely use Unicode!)
Also removing the defaultGoal=package declaration; the only purpose of building this module is to install it.
2013-03-07 10:39:37 -05:00
Kohsuke Kawaguchi f373cd5c5e [FIXED JENKINS-16606]
Integrated the new version of Stapler that includes the fix.
2013-03-06 17:26:08 -08:00
Jesse Glick 841511c21d Merge branch 'master' of github.com:jenkinsci/jenkins 2013-03-06 18:57:59 -05:00
Jesse Glick fa6c9ba35d [FIXED JENKINS-16474] Winstone and executable WAR upgraded to actually support --httpKeepAliveTimeout. 2013-03-06 18:56:59 -05:00
Kohsuke Kawaguchi 36d2d25992 [JENKINS-16830] clarified the semantics
(03:21:10 PM) m2spring: kohsuke: BTW, what do you think about this Jira? https://issues.jenkins-ci.org/browse/JENKINS-16830
(03:21:13 PM) jenkins-admin: JENKINS-16830:RunnerAbortedException no longer workin in RunListener.onStartup() (Resolved) http://jenkins-ci.org/issue/16830
(03:23:01 PM) m2spring: kohsuke: The question is whether RunListener.onStart() is intended to be allowed to abort a build by throwing Run.RunnerAbortedException, or not.
(03:23:18 PM) kohsuke: still reading
(03:25:27 PM) kohsuke: m2spring: I can make it work for you
(03:25:42 PM) kohsuke: I guess you want RunnerAbortedException to be a pass-through, right?
(03:25:50 PM) m2spring: I'm using now RunListener.setupEnvironment().
(03:25:58 PM) m2spring: This works and makes also a lot of sense.
(03:26:36 PM) m2spring: I can also see that not allowing onStart() to abort a build can make sense.
(03:26:51 PM) m2spring: I just wanted to hear your take on this.
(03:27:05 PM) kohsuke: kutzi is right that onStart() wasn't really intended to affect the build
(03:27:15 PM) kohsuke: it really was meant for just notifying
(03:27:33 PM) m2spring: Thanks for the clarification.
(03:27:40 PM) kohsuke: but if this is important for someone, I'm OK with making it work.
(03:27:53 PM) kohsuke: In this case it sounds like you are OK with the current state, so I'll leave it as WONTFIX
(03:27:58 PM) m2spring: setupEnvironment() seems to be the right place.
(03:28:05 PM) m2spring: Yes. Thanks :-)
(03:28:18 PM) kohsuke: I'll mention that in setupEnvironment javadoc so that we know it's a committed semantics
(03:28:28 PM) m2spring: Agreed.
2013-03-06 15:33:00 -08:00
Kohsuke Kawaguchi 961517a275 fixed all the regressions 2013-03-06 13:21:06 -08:00
Simon Wiest e6be820b66 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2013-03-06 21:41:00 +01:00
Simon Wiest ba13905b24 Minor update of the German localization strings. 2013-03-06 21:39:22 +01:00
Kohsuke Kawaguchi fba6be7c42 Fixing a test regression.
See 010b47d7307a11f0750fc01a00d99b96bbab9234 in stapler/stapler for the
actual fix.

I first discovered this on my local desktop yesterday as I was verifying
the fix for json-lib 2.4. From what I can tell, this has been broken all
along and it was working only because Facets are discovered in the lucky
order; JellyFacet got a chance to get at it before GroovyFacet did.

When I rebuilt from clean the problem stopped appearing, so I assumed
that there are some factors that cause JellyFacet to get loaded before
GroovyFacet (maybe the order in which Maven iterates dependencies or
something like that.)

But I'm no longer so sure now that I know J-on-J saw this problem at
about the same time. That's just too many coincidences.

But let's see if this would make J-on-J happy.
2013-03-06 09:02:03 -08:00
Kohsuke Kawaguchi 9514fb1a9f fixed the test regression caused by json-lib 2.4 2013-03-06 09:02:02 -08:00
Jesse Glick 938a5802ae Merge branch 'master' of github.com:jenkinsci/jenkins 2013-03-06 09:36:38 -05:00
Jesse Glick f54a947fd4 JUnit 4 assumptions are the right way to mark a test as having been skipped. 2013-03-06 09:34:55 -05:00
Jesse Glick 508d326361 /pluginManager/advanced would sometimes claim “Update information obtained: 43 yr ago”.
Due to a confusion between 0 and -1. Easier and clearer to use 0 as the “uninitialized” value.
2013-03-06 09:28:07 -05:00
Jesse Glick e8585767e4 Localization. 2013-03-06 08:53:07 -05:00
Jesse Glick 937cc8ce6a Better to override toString, which is used by getShortDescription anyway. 2013-03-06 08:47:55 -05:00
Olivier Lamy c3d9b844d8 Merge pull request #690 from recampbell/workspace-customization
Introduce jenkins.slaves.WorkspaceLocator
Thanks !
2013-03-06 00:24:03 -08:00
Pei-Tang Huang 1e62491558 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2013-03-06 15:53:40 +08:00