Kohsuke Kawaguchi
ffb5b65093
Switched from annotation based scheme to a function based scheme.
2014-09-23 19:12:43 -07:00
Kohsuke Kawaguchi
c0260056e5
in pre-cursor for the next change, make all remoting call go through FileCallable
2014-09-23 14:53:31 -07:00
Jesse Glick
1239ed3bd9
Merge commit '16f2c7af0122a4f3cfd709bd44d9b5402a6ec8bf' into security
...
Updating branch base to 1.532.
2014-07-30 17:39:01 -07:00
Jesse Glick
d030fbbaee
[FIXED SECURITY-105] Disabling DynamicProxyConverter.
2014-02-12 09:56:21 -05:00
Jesse Glick
7541e83cc9
[SECURITY-76] [SECURITY-88] Adjust test to policy changes.
2014-02-11 17:29:05 -05:00
Jesse Glick
b74750934c
Merge branch 'master' into ArtifactManager-JENKINS-17236
...
Conflicts:
core/src/main/java/hudson/FilePath.java
core/src/main/java/hudson/tasks/ArtifactArchiver.java
2013-09-12 07:57:32 -04:00
Jesse Glick
3f3e05fa4a
Merge pull request #928 from olivierdagenais/FixRandomHttp404
...
[FIXED JENKINS-19418] Fix random HTTP 404 when viewing build details
2013-09-12 04:44:41 -07:00
Jesse Glick
89a11462c7
[FIXED JENKINS-18337] Must use xmlEscape for freeform text fields in fingerprint XML.
2013-09-09 10:06:55 -04:00
Jesse Glick
574fe1409e
[FIXED JENKINS-9540] Failure of recursive copy on slave side should be reported.
...
Instead it was being thrown in a Future that the master did not wait for:
the writing side failed with a closed pipe exception, and this meaningless error was thrown up.
Fixing by waiting for the reading side first, so any error there will be thrown up.
(If there was _also_ an error on the writing side, we would miss it, but typically this will just be the closed stream.)
2013-08-29 16:13:48 -04:00
Olivier Dagenais
d12b16c66b
Minor formatting fixes.
2013-08-29 14:35:29 -04:00
Olivier Dagenais
7c9aab3831
Fix random HTTP 404 when viewing build details
...
Added a unit test (and supporting localExpiredBuilder) to expose a
defect in the search() method of AbstractLazyLoadRunMap whereby the
index contained an entry for the requested build number, but the
BuildReference's referent was null.
Fixed the search() method to handle this rare[ish] corner case.
2013-08-29 14:31:22 -04:00
Nicolas De Loof
872a6d740d
fix computeRelativeNamesAfterRenaming for job tbs using same prefix in name
2013-08-25 12:43:35 +02:00
Jesse Glick
862544b249
Satisfy DirectoryBrowserSupport with a new VirtualFile.
2013-08-21 16:38:27 -04:00
Jesse Glick
01fa0201fc
First draft of reworked artifact listing API.
2013-08-21 14:05:25 -04:00
Jesse Glick
f846169fb5
Moving what is essentially unit test code out of the test harness module.
2013-08-21 13:06:17 -04:00
ssogabe
923d6e48b6
ComputerLauncherTest failed with LANG=ja_JP. It seems to use invalid expect.
...
If the output of 'java -version' is 'java version "1.7.0_05" ', then the expect should be 1.7.0 not 1.7
2013-08-07 22:41:24 +09:00
Oliver Gondža
72901837db
[FIXED 10539] Preserve backslash in Matrix buildstep properties
2013-08-02 21:55:43 +02:00
Oliver Gondža
f18f89d6a0
Avoid deprecated junit.framework.Assert, use org.junit.Assert instead
2013-08-01 15:50:42 +02:00
Larry North
3376cf0158
[FIXED JENKINS-16660] Allow variable names with dots in bracketed references.
...
Given these <variable,value> mappings: <A,a> and <A.B,a-b>, $A.B would
evaluate to $a.B, as it currently does, and ${A.B} to a-b instead of the
current ${A.B}.
Existing ${A.B}-like references will break (not evaluate to ${A.B}) if
there actually is an A.B variable defined, which I think is very
unlikely.
2013-07-26 21:15:51 -07:00
Vincent Latombe
8b9394dd69
Refactor ListView to allow to set includeRegex programmatically
2013-07-20 10:56:19 +02:00
Kohsuke Kawaguchi
bf80986734
Replacing org.kohsuke.gmaven by org.codehaus.gmaven
2013-07-17 17:49:56 -07:00
Oliver Gondža
b8a580c9b3
Add unittests for Util.loadProperties
2013-07-09 16:59:31 +02:00
Christoph Kutzinski
95ac644029
fixed some warnings
2013-07-06 11:54:25 +02:00
Kohsuke Kawaguchi
735713801b
[FIXED JENKINS-18438]
...
Node monitoring should run in parallel to reduce the total round-trip
time in large instances.
2013-06-26 16:29:43 -07:00
limin wang
b6e1aa0549
Fix ListJobsCommandTest failed on Windows by replace line ending
2013-06-25 14:53:40 +08:00
Kohsuke Kawaguchi
216f5c6a45
[FIXED JENKINS-18417]
...
FingerprintCleanupThread can now partially clean up a fingerprint record
by removing portions of it that's not referencing existing stuff.
2013-06-19 15:21:45 -07:00
Tim Lantz
7f67499141
[FIXED JENKINS-18368]: added Bug attributes
2013-06-18 06:38:38 -04:00
Tim Lantz
d6ccf84eb4
[FIXED JENKINS-18368]: modified testcase asserts
2013-06-18 06:32:44 -04:00
Tim Lantz
656738c020
[JENKINS-18368] added isUnix override to launcher decorator classes so that isUnix is maintained for remote launcherswq
2013-06-16 23:23:49 -04:00
Oliver Gondža
1ef9cae2de
[FIXED JENKINS-18367] Use non-zero return code in case list-jobs CLI command fails
2013-06-16 11:38:08 +02:00
Christoph Kutzinski
f5895c479f
Noting and minor clean up for 6b79233f13
2013-06-16 10:34:50 +02:00
Christoph Kutzinski
6b79233f13
Merge pull request #793 from olivergondza/list_jobs_recursively_fix
...
List Jobs recursively in hudson.cli.ListJobsCommand
2013-06-16 10:06:28 +02:00
Christoph Kutzinski
029701ce3d
Merge pull request #645 from thesam/issue15380
...
[FIXED JENKINS-15380]. Add some length checking before trying to substring names in ClassResult.
2013-06-15 14:53:03 -07:00
Oliver Gondža
67827c7eaa
Introduce View.getAllItems()
2013-06-15 23:15:56 +02:00
Jesse Glick
b1c82f1e30
stephenc asks to use TODO rather than XXX
2013-06-10 11:53:13 -04:00
Jesse Glick
5903870d31
[JENKINS-18065] Documenting current misbehavior in a unit test.
2013-06-04 20:19:35 -04:00
Jesse Glick
a5ac54eac8
[JENKINS-17713] Preparing unit and functional test coverage.
2013-05-29 12:50:45 -04:00
Jesse Glick
972d8bad22
[FIXED JENKINS-15652] “Solving” errors by just return null from ALLRM.search and reducing to one-line warnings.
...
@kohsuke confirms that the intent of throwing AIOOBE was to track down definite code errors;
but in at least some known occurrences of this bug, the problem is invalid data:
build records on disk with <number>s that are duplicated and/or out of order.
Since that violates the precondition of the class, we do not pretend to successfully search for such records.
At some point it would make sense to have the code detect anomalous conditions and initiate a builds folder cleanup.
Take only the last build of a given number, and discard any earlier with higher number.
I.e. just set <number> to 0 or something and ignore such builds, or rename build.xml to build-broken.xml.
2013-05-28 19:11:28 -04:00
Jesse Glick
787424881f
[JENKINS-15652] Reproduced at least one assertion failure in a unit test.
2013-05-28 18:49:05 -04:00
Jesse Glick
f1b513cf91
[JENKINS-16301] Need to create parent directory of fingerprint file too.
2013-05-28 17:56:43 -04:00
Oliver Gondža
bdea18f5ca
List Jobs recursively in hudson.cli.ListJobsCommand
2013-05-27 22:58:37 +02:00
Oliver Gondža
5457d1e8c3
Unittest hudson.cli.ListJobsCommand
2013-05-27 22:48:20 +02:00
Jesse Glick
8aed662390
[JENKINS-18074] Fixed unit test by making StubJob.getParent forgiving.
...
https://ci.jenkins-ci.org/job/jenkins_main_trunk/2545/testReport/junit/hudson.model/DisplayNameListenerTest/testOnCopied/
2013-05-24 13:47:29 -04:00
Vincent Latombe
16a3ddfe05
Merge branch 'master' into recurse-folders-maven-jobs-compat
2013-05-23 10:53:29 +02:00
Jesse Glick
41edc5867b
[JENKINS-16301] Verifying current load/save implementation can round-trip fingerprints.
2013-05-22 17:20:43 -04:00
Jesse Glick
8d2e452336
[JENKINS-16301] Verifying current serial format as a baseline.
2013-05-21 21:39:44 -04:00
Jesse Glick
07280edc95
JUnit 4.
2013-05-21 19:19:27 -04:00
Jesse Glick
b5d96e27dd
[JENKINS-17030] Noting, fixing/adding @since, adding @Bug.
2013-05-21 14:07:10 -04:00
Jesse Glick
e31b750c58
Merge pull request #767 from olivergondza/wbr_layout
...
[FIXED JENKINS-17030] Enable word breaking for job names.
2013-05-21 11:04:21 -07:00
Jesse Glick
84d1abdcd4
[FIXED JENKINS-17983] Empty LogRecorder.Target.name was not working.
2013-05-16 17:22:51 -04:00