Commit Graph
334 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi d2b16af4e4 Automatically execute the CLI sanity check for plugins 2011-10-28 17:31:46 -07:00
Stephen Connolly bed2a27cf1 Allow pluginManager to be queried by superclasses 2011-10-20 10:27:28 +01:00
Stephen Connolly 1d5cdddf1f Add an annotation to enable skipping Jenkins provisioning for specific tests 2011-10-19 17:01:13 +01:00
Stephen Connolly 8071d0768f Add a fluent interface for specifying a plugin manager 2011-10-19 16:30:24 +01:00
Stephen Connolly c3eb8670b9 sync with HudsonTestCase as JenkinsRule was copied from an earlier version 2011-10-19 16:23:57 +01:00
Stephen Connolly f1d67aa020 Adding a JUnit 4.10+ style rule to replace HudsonTestCase 2011-10-19 16:05:12 +01:00
Kohsuke Kawaguchi 76ada98f34 fixed incorect merge that wiped out the semantics of TestExtension.value() 2011-09-23 21:11:20 -07:00
Kohsuke Kawaguchi e17760256e merged with the latest trunk 2011-09-21 21:41:57 -07:00
Kohsuke Kawaguchi 211231d12b Merged 2dbe144bb7
Conflicts:
	core/src/main/java/hudson/LocalPluginManager.java
2011-08-29 11:52:20 -07:00
Kohsuke Kawaguchi 468987a97f added a hook to specify different PluginManager for testing. 2011-08-29 11:39:57 -07:00
Kohsuke Kawaguchi 9dddea7098 added a recipe to specify a custom plugin manager 2011-08-29 11:36:59 -07:00
Kohsuke Kawaguchi 362362951c Fixed a bug in the test environment setup where the current plugin being tested isn't loaded into Jenkins as a plugin. This also improves the resolution rule so that it doesn't rely on a known set of groupIDs. 2011-08-17 17:01:52 -07:00
Kohsuke Kawaguchi c1920636fe when recording a failure, we record the name of the build step, so for that to work we need TestBuilder to have some valid name. 2011-08-17 17:01:52 -07:00
Kohsuke Kawaguchi 3488cf1e4e regression introduced in 6253fb1b. The first entry, which in most cases is the only entry, gets ignored. 2011-08-17 17:01:52 -07:00
Kohsuke Kawaguchi f6373f7ada Merge branch 'jruby'
Conflicts:
	core/pom.xml
2011-08-08 09:37:32 -07:00
Kohsuke Kawaguchi 578a2f5bf2 [FIXED JENKINS-9363] added API token for REST API. 2011-08-05 18:34:21 -07:00
Jerome Lacoste 386ec0d15e Ensure that the Readers are closed properly 2011-07-23 07:11:06 -07:00
Kohsuke Kawaguchi 51722c3f14 Jenkins! 2011-06-30 08:56:22 -07:00
Kohsuke Kawaguchi 5dddebcf94 Corrected backward incompatible signature changes in 70c1065814. 2011-06-17 22:01:45 -07:00
Kohsuke Kawaguchi e73e870fdc added a switch to verify the presence of the Jelly PI 2011-06-10 08:07:39 -07:00
Nigel Magnay 017e445686 Move hudson.model.Jenkins to be jenkins.model.Jenkins - part III
Fix code that accesses functionality though package protected interfaces;
- access through AbstractCIBase
- make FullDuplexHttpChannel and OverallLoadStatistics public

Test case utility function for adjusting the quiet period variable

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2011-05-29 11:06:43 +01:00
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
Andrew Bayer c0628ee2e5 Removing unneeded imports 2011-05-23 11:20:49 -07:00
Christoph Kutzinski 819c8528de implemented getDescriptor() to - hopefully - fix the AssertionError in the tests 2011-05-22 21:10:37 +02:00
Kohsuke Kawaguchi 5b03fb003c Don't let the debug option in Maven to block Mavens forked from tests 2011-05-11 21:46:49 -07:00
Kohsuke Kawaguchi 7ffa053c0f added a convenience method 2011-04-25 17:22:07 -07:00
Kohsuke Kawaguchi 677ca0fbea Use a bigger buffer as Stapler traces can get pretty large on deeply nested URL 2011-04-21 20:08:59 -07: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 f5209cd4de More aggressive search for data-bound beans. 2011-04-21 15:21:33 -07:00
Kohsuke Kawaguchi 9b7b199e85 handle optional dependency more gracefully 2011-04-21 13:53:31 -07:00
Kohsuke Kawaguchi 0d0e011d7e Jenkins 2011-04-21 13:53:31 -07:00
Stephen Connolly d68e3ba2c5 Tsk Tsk! Kohsuke you missed a possible NPE for people running hpi:run on plugins in fixing [JENKINS-6545] 2011-04-19 16:27:45 -07:00
Olivier Lamy d678144241 cleanup and add javadoc 2011-04-18 21:47:05 +02:00
Olivier Lamy e4914db591 [FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports 2011-04-18 21:43:50 +02:00
Kohsuke Kawaguchi 6a2dad3134 Merged ff1f60905e
Conflicts:
	changelog.html
	pom.xml
	test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
2011-04-15 15:00:15 -07:00
Kohsuke Kawaguchi f105becb14 added another convenience method 2011-04-15 14:55:43 -07:00
Kohsuke Kawaguchi e761d80f4d [FIXED JENKINS-4617]
this and the previous commit constitutes the fix.
Also added a test case.
2011-04-12 19:16:53 -07:00
Kohsuke Kawaguchi d691e616a4 Jenkins! 2011-04-08 18:43:15 -07:00
Paul Sandoz 642632d16b Use LinkedBlockingQueue to support unbounded requests. Previously this was limited to the max thread pool size (of ten). 2011-04-05 10:37:08 +02:00
Kohsuke Kawaguchi 3abc2d5b1c Merge commit 'ad343a68075e64ee91bf66d84a8dea727f60bf84'
Conflicts:
	core/pom.xml
	core/src/main/java/hudson/model/Node.java
	test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
2011-04-01 15:05:47 -07:00
Kohsuke Kawaguchi a895bce94a added a convenience method 2011-04-01 15:01:07 -07:00
Kohsuke Kawaguchi edcde6d14a Merged commit 55d1f1fec3
Conflicts:
	core/src/main/resources/lib/form/optionalBlock.jelly
	core/src/main/resources/lib/hudson/newFromList/form.jelly
	test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
2011-03-31 19:04:12 -07:00
Kohsuke Kawaguchi 5bbc78f6d8 Merge commit 'ff05abe46211613237191330b3afa04325bb5c12'
Conflicts:
	test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
2011-03-31 19:00:00 -07:00
Kohsuke Kawaguchi 277052345c Jenkins! 2011-03-31 17:54:05 -07:00
Kohsuke Kawaguchi b3a47fc3cd added a convenience method 2011-03-31 17:04:05 -07:00
Kohsuke Kawaguchi cc3393a74e don't active unless it's run from tests 2011-03-31 08:49:48 -07:00
Stephen Connolly 97f1d02cbd Tsk Tsk! Kohsuke you missed a possible NPE for people running hpi:run on plugins in fixing [JENKINS-6545] 2011-03-31 16:35:05 +01:00
Kohsuke Kawaguchi 393be058a5 added a hook for trouble-shooting rare test failures 2011-03-30 21:31:45 -07:00
Kohsuke Kawaguchi 11f04a7fda set the thread name 2011-03-30 21:30:19 -07:00