Nigel Magnay
5679d019ec
Move hudson.model.Jenkins to be jenkins.model.Jenkins - part II
...
Just import changes, from hudson.model.Jenkins -> jenkins.model.Jenkins,
and Javadoc comments.
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com >
2011-05-29 11:06:28 +01:00
Nigel Magnay
70c1065814
Stage 1 : Create hudson.model.Jenkins, make Hudson derive from Jenkins.
...
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com >
2011-05-29 11:00:58 +01:00
Mirko Friedenhagen
6ae77ed34a
[FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and
...
Maven2/3 jobs using Maven3 in console output.
With Maven3 the output format for mojos has changed:
- Add a new Maven3MojoNote and use it in MavenConsoleAnnotator.
- This is sufficient for Freestyle jobs running Maven2 or 3 and Maven2/3
jobs running Maven 2.
- Maven2/3 jobs running Maven 3 are using ExecutionEventLogger for
printing start of mojo execution to console.
2011-05-16 21:00:21 +02:00
Kohsuke Kawaguchi
3614868694
Merge branch 'oss'
...
Conflicts:
core/src/main/java/hudson/Functions.java
core/src/main/java/hudson/model/AutoCompletionCandidates.java
core/src/main/java/hudson/model/ViewDescriptor.java
core/src/main/resources/lib/hudson/3rdPartyLicenses.jelly
core/src/main/resources/lib/hudson/newFromList/form.jelly
core/src/main/resources/lib/hudson/projectViewRow.jelly
core/src/main/resources/lib/hudson/thirdPartyLicenses.jelly
core/src/main/resources/lib/layout/renderOnDemand.jelly
core/src/test/java/hudson/FilePathTest.java
test/src/test/resources/lib/layout/RenderOnDemandTest/testBehaviour.jelly
test/src/test/resources/scripts/BehaviorTest/testCssSelectors.jelly
ui-samples-plugin/src/main/resources/hudson/plugins/ui_samples/JavaScriptProxy/index.jelly
2011-04-21 15:37:31 -07:00
Kohsuke Kawaguchi
957ffd3009
[FIXED JENKINS-7871] Fixed a race condition in FilePath.copyTo
...
that results in missing tail bits when the master is heavily loaded.
2011-04-21 13:39:48 -07:00
Kohsuke Kawaguchi
48ce4036c3
bug fix in the test case
2011-04-15 22:44:07 -07:00
Kohsuke Kawaguchi
6577d788b9
[FIXED JENKINS-9397] fixed a bug in the implementation, added tests.
2011-04-15 17:25:12 -07:00
bap2000
5cbe17973b
Add method to list with excludes
2011-04-10 14:29:55 +01:00
Ulli Hafner
08f38dd63f
Fixed test suite parsing of Eclipse Plug-in tests.
2011-03-22 11:57:54 +01:00
alanharder
3bd3ff9b57
[FIXED JENKINS-7442] Change ArgumentListBuilder.toWindowsCommand() to not escape %VAR%
...
type references by default (can now be done by passing "true" parameter).
This restores ability to use %VAR% references for ant build steps on windows.
2011-03-17 09:15:26 -07:00
Kohsuke Kawaguchi
c3fc09939c
[FIXED JENKINS-7871] Fixed a race condition in FilePath.copyTo
...
that results in missing tail bits when the master is heavily loaded.
2011-03-14 13:31:58 -07:00
Brian Atkinson
1917efdc33
Clean up unused imports
2011-02-16 19:48:44 -06:00
Kohsuke Kawaguchi
96dd84b5d0
[FIXED JENKINS-7809] expose child process stdout as InputStream.
...
I added a mode where one can launch a child process without the built-in pumping support, making it trivial to read until EOF in the distributed environments.
This concludes the fix.
2011-02-16 08:28:00 -08:00
Kohsuke Kawaguchi
76b0397004
hudson->jenkins
2011-02-12 07:01:35 -08:00
Jerome Lacoste
7e3bc36b39
Revert "merge changelog.html fixes from kk"
...
Note that the above description is incorrect as to what the merge was about.
It is the message that I intended to make. It appears that I accidentaly merged multiple fixes waiting to be reviewed on my private fork.
This reverts commit dce0d2aff0 , reversing
changes made to 63f67f30bd .
2011-02-07 14:50:17 +01:00
Jerome Lacoste
826d9ddb3d
JENKINS-8702 improve unit tests. Some core tests are cluttering the output with unuseful logs
2011-02-05 12:24:05 +01:00
Jerome Lacoste
02851236d5
JENKINS-8702 improve unit tests. FilePathTest#testCopy2 isn't a test it has no assertions.
...
It is slow and take 10sec on my compiter. Disabling it. One could remove it I guess.
2011-02-05 12:01:48 +01:00
Jerome Lacoste
b4717d2515
JENKINS-8702 improve unit tests. UpdateCenterTest depends on online resource and takes too long. Fix this
2011-02-05 11:43:07 +01:00
Brian Atkinson
f134bd68b9
Add two exact tests for HUDSON-8656.
2011-02-04 18:45:12 -06:00
Brian Atkinson
e7eac75978
This adds a test from HUDSON-8656, and is likely related to issues found in
...
HUDSON-8401.
This grouping of tests targets all Sunday to *another day of week* cron
tabs. There are likely other pairs that could be tested, but this seemed to
work out most of the bugs.
2011-02-04 18:45:12 -06:00
Kohsuke Kawaguchi
b390d9f091
spinning the test annotations off to a library so that it can be used in other places, like in the core
2011-01-24 13:40:59 -08:00
Kohsuke Kawaguchi
8411557322
[FIXED HUDSON-8401] calendar handling fix with Mon-Sun week (as opposed to Sun-Sat week)
...
Having a calendar with the first day of week being Monday (such as in the en_GB locale), setting DoW to Sunday moves the calendar forward whereas in cron it expects the calendar to go backward in time.
Adjusting this logic.
2011-01-21 10:29:49 -08:00
Kohsuke Kawaguchi
7c101d1edb
Reduced the memory footprint used by fingerprints.
2011-01-13 21:07:48 -08:00
Seiji Sogabe
eeeda9eea8
[FIXED HUDSON-8270] escape quotes.
2010-12-28 23:44:39 +09:00
Kohsuke Kawaguchi
95d12a81de
updated to work with Guice 3.0 RC1
2010-12-11 00:48:23 -08:00
Kohsuke Kawaguchi
d13dabd672
Merge branch 'master' into guice
2010-12-10 13:24:52 -08:00
jtnord
6e011bc7d3
Update .gitignore to ignore eclipse files.
...
Correct (incorrect) comment in CronTabTest
2010-12-02 22:24:49 +00:00
Kohsuke Kawaguchi
001507695e
experimenting
2010-11-26 16:37:49 -08:00
mindless
758eb9a92d
[FIXED HUDSON-7438] as FormValidation extends IOException, pass the message
...
in _errorWithMarkup to super(message) so that getMessage() returns the message.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@37017 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-17 20:06:42 +00:00
mindless
683f1fcb8f
[FIXED HUDSON-8006] fix serialization of array containing null elements,
...
based on patch from alexlehm
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36992 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-16 23:33:34 +00:00
mindless
e41b55cdf9
[FIXED HUDSON-7657] While testing from command prompt requires escaping of ^&<>|
...
with a ^ character, this is apparently not needed when cmd.exe /C is invoked from
Hudson.. commented that part of toWindowsCommand() and updated javadoc/unit test.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36903 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-14 02:36:52 +00:00
sogabe
83c040c481
[FIXED HUDSON-8088] check the name of Ant, Maven and JDK installations.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36901 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-14 01:16:32 +00:00
dty
3f1f53f238
Implement autocompletion for label expression text box on project configuration
...
page.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36581 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-02 20:34:39 +00:00
jglick
f707baf5f8
Fixing warnings and questionable uses of generics flagged as errors by NetBeans.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36221 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-25 19:56:48 +00:00
kohsuke
cfd817d21e
utility code that generates wrapper subtypes.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35984 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-15 19:53:01 +00:00
dty
21d7e2615f
Add more ways to supply arguments that need to be masked. This is foundational
...
work to a mechanism to do a better job of making sure that sensitive build
variables are not exposed in the build console.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35050 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-20 23:59:51 +00:00
mindless
802f038bc2
merge CrontabTest into CronTabTest, as both can't be checked out
...
on case-insensitive filesystem
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34648 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-10 14:51:47 +00:00
kohsuke
489f8d9b77
implement the floor method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34634 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:37:01 +00:00
kohsuke
350bf69165
added a method to compute the nearest matching time, given a time.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34633 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:36:44 +00:00
StevenGBrown
5413d1254d
Unit test for AntTargetNote.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34508 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-07 14:34:03 +00:00
mindless
dfb7633453
[FIXED HUDSON-2149] add comma to list of characters that need escaping on windows
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34229 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-31 16:12:36 +00:00
kohsuke
65644d3b62
added support for marshalling Google collection ImmutableMap
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34048 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 19:05:29 +00:00
sogabe
6e83aaf704
Fixed compilation fauilure.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33876 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-16 11:18:51 +00:00
kohsuke
64db15c45c
[FIXED HUDSON-4158]
...
JUnit report archiving now captures stdout of tests run in Surefire.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33862 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-15 16:28:53 +00:00
kohsuke
004c75c381
First stab at boolean expression over labels.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33617 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-07 23:03:06 +00:00
mindless
80f7a7ea61
[HUDSON-7108] add ArgumentListBuilder.toWindowsCommand() which wraps command
...
in CMD.EXE /C (as Ant.perform() already did), but also does escaping of special
characters to ensure argument as passed unaltered. Use this in Ant.perform() so
build parameters with < or > characters don't cause I/O redirection, for example.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33530 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-02 17:51:23 +00:00
kutzi
40ffa913f8
[FIXED HUDSON-6543] use last 3 builds to calculate estimated remaining build time
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@32310 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-26 13:37:56 +00:00
jglick
33f7ed732f
[FIXED HUDSON-6824] Statically held fields should be of type Localizable rather than String.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@32240 71c3de6d-444a-0410-be80-ed276b4c234a
2010-06-22 20:10:59 +00:00
jglick
7ba6e1b134
[FIXED HUDSON-6516] Make stdio trimming optional.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31016 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-13 17:38:04 +00:00
jglick
f4cc4245da
[FIXED HUDSON-6516] Trim stdout/stderr of passing tests to around 1Kb. Otherwise Hudson easily gets OOME.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30978 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-12 23:12:57 +00:00