Commit Graph
637 Commits
Author SHA1 Message Date
alanharder b2947abf02 use configured ant for test so it works when ant is not in path 2011-03-02 13:43:47 -08:00
Kohsuke Kawaguchi 22ee71f993 [FIXED JENKINS-8579] defined a mechanism to replace some of the key UI text.
I wasn't initially planning to do this, but it turns out more people needed this feature than I thought.

I left the text as is, but defined a mechanism to override this in the plugin, in a possibly context sensitive way. For example, a plugin can replace this text on a job-by-job basis, or by looking at some property/builder/etc.
2011-03-02 01:43:40 -08:00
Kohsuke Kawaguchi 82e3472aac simplified 2011-02-27 10:58:50 +09:00
alanharder 543dc877f8 add configureDefaultAnt in test 2011-02-23 18:04:50 -08:00
Kohsuke Kawaguchi 69275965a7 executeOnServer needs to be available on WebClient so that it can access a particular session 2011-02-23 17:12:56 +09:00
Brian Atkinson 1917efdc33 Clean up unused imports 2011-02-16 19:48:44 -06:00
Brian Atkinson 92fbb8fab9 Fix CLRF 2011-02-16 19:48:43 -06:00
alanharder 5f1fef602c [FIXED JENKINS-7442] Fix expansion of EnvVars in ant properties.
Ant build step had quite a mix: buildFile and antOpts expanded against
env, properties against buildVariables, and targets against both.
Now merging buildVariables into env and applying to all.
2011-02-16 10:15:40 -08: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
alanharder e8971a5723 Add unit test for expansion of variables used in properties of ant build step. 2011-02-15 13:20:19 -08:00
Kohsuke Kawaguchi 3a3690b281 [FIXED JENKINS-7809] fixed a race condition in obtaining the tail of the output from remote process. 2011-02-14 17:13:24 -08:00
Andrew Bayer 0e541e66b6 [FIXED JENKINS-7649] Only including one SCMTrigger.BuildAction per build, since there's only one possible polling log to link to. 2011-02-14 12:20:32 -08:00
Olivier Lamy 24eb579d0c Merge branch 'master' of https://github.com/mpeltonen/jenkins
And fix my previous bad push.
I apologize folks !! my bad :-(

Conflicts:
	changelog.html
	test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
2011-02-10 16:30:33 +01:00
Olivier Lamy b3b4ccb0f2 [JENKINS-8651] Maven deployment with uniqueVersion == true creating "new" versions for attached artifacts 2011-02-10 00:06:21 +01:00
Mikko Peltonen 042a4cd8a4 Add test cases for JENKINS-8054 2011-02-09 18:44:51 +02: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 2e47359a6e JENKINS-8702 unit tests improvements
hudson.UDPBroadcastThread#testMulticast hangs when the network isn't enabled on my Linux box: joinGroup throws IOException and the ready lock isn't released.
This ready lock is only used in the tests.
2011-02-05 13:58:47 +01:00
Jerome Lacoste 58166dfb2b Merge remote branch 'upstream/master'
Reapplied 329a020188

Conflicts:
	core/src/main/java/hudson/widgets/HistoryWidget.java
2011-02-05 07:38:58 +01:00
Kohsuke Kawaguchi f88a2ba333 Merge branch 'JENKINS-4756'
* JENKINS-4756:
  minor touch up
  FIXED JENKINS-4756 the executor number was not always unique. Computer.executors.size() does not provide a unique number within one Computer.
2011-02-04 21:28:12 -08:00
Kohsuke Kawaguchi 36d9b56250 minor touch up 2011-02-04 21:28:01 -08:00
Jerome Lacoste a70f6b19ae JENKINS-8698 HudsonTestCase sometimes fails with NPE in tearDown() while trying to free htmlunit resources
Not really sure what is happening, but I don't think the build should fail here.
So let's try to be more resiliant (try twice loading the page) and don't fail if the exception occurs again.
2011-02-04 21:36:25 +01:00
Janick Reynders 88a2860339 FIXED JENKINS-4756 the executor number was not always unique. Computer.executors.size() does not provide a unique number within one Computer. 2011-02-03 23:21:01 +01:00
Jerome Lacoste 287208f973 JENKINS-8672 stop depending on Svn SCM and java.net host for testing MavenBuild. 2011-02-03 23:06:25 +01:00
Jerome Lacoste 2d45108647 JENKINS-8672 stop depending on Svn SCM and java.net host for testing MavenBuild. 2011-02-03 21:53:05 +01:00
Manolo Carrasco 0803e89068 Add Spanish missing keys. Update Spanish internationalized values to have the word Jenkins instead of Hudson. Changes in translation tool to advise when a file have the Hudson word 2011-02-02 09:41:55 +01:00
Kohsuke Kawaguchi da1dc0142d bug fix in the test 2011-01-31 19:08:11 -08:00
Kohsuke Kawaguchi 45da182f71 Fixed a bug in the test harness. 2011-01-31 18:34:17 -08:00
Kohsuke Kawaguchi 3a1447ea9a Updating the URL. 2011-01-30 23:44:52 -08:00
Kohsuke Kawaguchi 8ea876faa4 Honor $JENKINS_HOME.
Honor $JENKINS_HOME (just like we used to do $HUDSON_HOME)
We still fall back to $HUDSON_HOME every step of the way
for maximum backward compatibility.

I wasn't initially planning to do this for the first version,
but working on native packages made me think we should deliver this.
2011-01-30 16:25:58 -08: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 8a3d9c0693 doc improvement 2011-01-13 10:43:07 -08:00
Olivier Lamy 3f2ab68b24 [HUDSON-8415] M2 and M3 builds behave differently when tests fail 2011-01-13 15:27:34 +01:00
Kohsuke Kawaguchi 5b8f472374 set the default credential so that direct access to Hudson can do anything 2011-01-12 21:47:34 -08:00
Olivier Lamy 32902b2c07 [HUDSON-8484] nonRecursive option is not honored anymore when parsing pom 2011-01-12 22:22:59 +01:00
Olivier Lamy 0f4a76fba1 fix junit upgrade commons-io to 2.0.1 2011-01-11 14:28:17 +01:00
Olivier Lamy b97ad46213 really fix use of env var in pols tru ${env.xxxx} 2011-01-08 22:25:08 +01:00
Olivier Lamy b5290ef0a3 add unit test for using parameters as env vars in maven builds 2011-01-08 21:47:15 +01:00
Olivier Lamy 693e13f4aa oups missed to add test project zip file 2011-01-07 22:01:16 +01:00
Olivier Lamy f2191d6162 [HUDSON-8445] Parsing poms fails if a module is a path to a pom (and not to a directory) 2011-01-07 21:57:38 +01:00
Olivier Lamy b84efb908f [HUDSON-8390] POMs parsing fails in m2 projects which has a wrong inheritence (m3 constraint)
add a workaround ONLY for maven2 builds
2011-01-05 16:53:38 +01:00
Olivier Lamy 0049d2408b update changelog for HUDSON-8395 and fix junit 2011-01-03 17:40:09 +01:00
Olivier Lamy 312f24305a [HUDSON-8395] M2 POMs aren't parsed if there is a M3 control error like an invalid scope in a plugin dep.
use different validation level depending on maven version used.
2011-01-03 16:21:16 +01:00
Kohsuke Kawaguchi 4742d022a7 Moved the maven version information to MavenModuleSetBuild. 2010-12-31 21:00:28 -08:00
Olivier Lamy 350f5c4542 prevent NPE 2010-12-28 22:50:16 +01:00
Seiji Sogabe c85e60f14e Sorry my mistake. 2010-12-24 22:19:10 +09:00
Kohsuke Kawaguchi 261b090423 added a test case 2010-12-23 09:07:35 -08:00
Kohsuke Kawaguchi b4e0c797a9 added a convenience method 2010-12-23 09:07:35 -08:00
Kohsuke Kawaguchi 9d1ce54e3b added a convenience method 2010-12-16 21:58:18 -08:00
Kohsuke Kawaguchi 0d5ed5a8c7 Allow the administrator to yank out dead executors. 2010-12-15 17:29:53 -08:00
Kohsuke Kawaguchi 5cc91aa9ac updated the subversion server location. 2010-12-07 15:07:03 -08:00