Commit Graph
9327 Commits
Author SHA1 Message Date
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
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 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
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
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
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
Kohsuke Kawaguchi c8fafe1c8a Increase the cache time from 1 day to 365 days
These are one time URLs, and this change aligns them from other /static/
links that serve 365 days expiration period.
2013-03-05 18:34:00 -08:00
Kohsuke Kawaguchi eab4bb6a30 Integrated json-lib 2.4
I had to tweak UpdateSite code because JSONObject.fromObject(String)
became more strict and no longer allows extra garbage after the closing
'}'
2013-03-05 18:28:48 -08:00
Jesse Glick ebd8ff1f0d [FIXED JENKINS-17087] getSortedDescriptorsForGlobalConfigUnclassified needed to avoid clobbering GlobalCrumbIssuerConfiguration in Jenkins.doConfigSubmit. 2013-03-05 17:55:28 -05:00
Jesse Glick 50f14f28e5 [FIXED JENKINS-17085] Bogus requestHeaders value prevented crumb addition.
(Ah, the joys of dynamic typing!)
2013-03-05 17:05:57 -05:00
Jesse Glick 11f1963491 Using better Logger overloads. 2013-03-05 16:15:23 -05:00
Jesse Glick d6bec48f17 Merge branch 'master' of github.com:jenkinsci/jenkins 2013-03-05 12:45:32 -05:00
Jesse Glick 90ab89564a UDPBroadcastThreadTest was often failing on ci.jenkins-ci.org; making more lenient.
Mar 4, 2013 10:55:46 PM hudson.UDPBroadcastThread run
WARNING: UDP handling problem
java.io.IOException: Operation not permitted
	at java.net.PlainDatagramSocketImpl.send(Native Method)
	at java.net.DatagramSocket.send(DatagramSocket.java:625)
	at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:98)
→
java.net.SocketTimeoutException: Receive timed out
	at java.net.PlainDatagramSocketImpl.receive0(Native Method)
	at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:145)
	at java.net.DatagramSocket.receive(DatagramSocket.java:725)
	at hudson.UDPBroadcastThreadTest.receiveAndVerify(UDPBroadcastThreadTest.java:70)
	at hudson.UDPBroadcastThreadTest.testMulticast(UDPBroadcastThreadTest.java:51)
2013-03-05 12:44:46 -05:00
Christoph Kutzinski 16176d4371 don't throw NPE if job was deleted in the mean time 2013-03-05 18:02:22 +01:00
Pei-Tang Huang bf048b8275 Complete Traditional Chinese translation on RekeySecretAdminMonitor. 2013-03-05 19:33:26 +08:00
Jesse Glick 1e6454a77f [JENKINS-16877] Removing documentation about insecure access formats (primitive XPath & JSONP). 2013-03-04 17:21:23 -05:00
olivier lamy 0710b90620 remove non used import 2013-03-04 22:55:16 +01:00
Jesse Glick 164443b47a Fixing alignment in /computer/ index page. 2013-03-04 10:23:40 -05:00
evernat 839831993a French translation for global security 2013-03-03 16:02:53 +01:00
Christoph Kutzinski c41aafabc3 @since and clean up for 52ae5fe35a 2013-03-03 14:40:17 +01:00
Christoph Kutzinski 52ae5fe35a Merge pull request #647 from ndeloof/getRun
convenience method to retrieve upstream Run
2013-03-03 05:29:39 -08:00
Christoph Kutzinski da441934e4 Merge pull request #687 from evernat/master
Repetitive http 404 Not Found on some breadcrumbs without a contextmenu
2013-03-03 05:05:18 -08:00
Kohsuke Kawaguchi 934e9d336b [FIXED JENKINS-15596]
Disable authenticode verification on jenkins.exe and jenkins-slave.exe
by generating a proper application configuration file.

See: http://msdn.microsoft.com/en-us/library/cc656914.aspx
See: http://msdn.microsoft.com/en-us/library/bb629393.aspx
See: http://support.microsoft.com/kb/936707
2013-03-01 18:59:59 -08:00
Jesse Glick ef9c30c665 Merge pull request #722 from ndeloof/master
[FIXED JENKINS-13502] Fix dependency graph computation when upstream build trigger is involved
2013-03-01 15:10:25 -08:00
Joel Johnson 179f7578bd Fixed Regression: NPE when checking if the executor is interrupted
29426012ce introduced an NPE.
If a project implements Queue.FlyweightTask, build.getExecutor() returns null.
This prevents any flyweight build from finishing successfully.
2013-03-01 10:42:59 -07:00
Galo Navarro 73484301ce [JENKINS-17016] Fix Spanish translations
Correct Spanish grammar and orthography in various Spanish translation
files.
2013-03-01 10:27:09 +01:00
Kohsuke Kawaguchi 36d7e31de6 Merge branch 'rc' 2013-02-28 19:34:07 -08:00
Kohsuke Kawaguchi a33e147a0d [FIXED JENKINS-16979]
Added backward compatible data loader and a corresponding test case.
2013-02-28 18:47:25 -08:00
Kohsuke Kawaguchi 9447289c87 [FIXED JENKINS-16368]
HyperlinkNote shouldn't emit the absolute URL.
2013-02-28 17:33:36 -08:00