Commit Graph
836 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 2dc52c155c Merge branch 'add-plugin-without-restart' 2011-11-28 17:01:49 -08:00
Kohsuke Kawaguchi 6db6e176ad added a test for a dynamic installation 2011-11-28 16:36:34 -08:00
olivier lamy 39b743d8cb headless true for maven builds in test harness: too much coffee is not good for my heart :-) 2011-11-25 11:26:32 +01:00
imod c167f52c9f additionaly pass reference to current build to intercepting methods 2011-11-23 16:16:53 +01:00
imod 74d2d4373c add extension to intercept maven arguments 2011-11-23 16:16:53 +01:00
Christoph Kutzinski 3e829f8825 fixed/suppressed warnings 2011-11-20 22:33:45 +01:00
Christoph Kutzinski a5ffd0c2d4 modify latch to use CountDownLatch and wait 30 seconds more for builds as test likes to time-out a lot 2011-11-19 21:39:08 +01:00
Christoph Kutzinski eb1e08c590 @Ignore doesn't work here 2011-11-19 19:06:08 +01:00
Christoph Kutzinski 9d9a5bf305 Test sometimes times out here under load, so give it some more time 2011-11-18 14:51:23 +01:00
Christoph Kutzinski 83822830cf Added (unfortunately yet disfunctional) regression test for JENKINS-11592 2011-11-18 11:02:44 +01:00
Christoph Kutzinski c8094ad161 fixed compile error in Eclipse 2011-11-13 14:36:47 +01:00
Christoph Kutzinski ee38d15b1e Interrupting SCM checkout should mark the build as aborted instead of failed [JENKINS-4605] 2011-11-08 22:41:39 +01:00
Craig P. Motlin 22b13104b3 Remove unnecessary interface modifiers. 2011-11-07 14:52:11 -08:00
Kohsuke Kawaguchi e5e163f26f fixing up the semantics and adding a test. 2011-11-07 14:23:35 -08:00
Kohsuke Kawaguchi a3489b5bc9 during incremental compilation, the index can get out of sync 2011-11-07 14:00:15 -08:00
Christoph Kutzinski eab5fa8939 don't wake up so often when waiting for Jenkins to finish - it make take away to much time from the threads that are actually doing something 2011-10-30 19:29:33 +01:00
Christoph Kutzinski 39ba4e0cb8 Wait longer for the salve to go online as the tests often timeouts here 2011-10-30 19:28:02 +01:00
Christoph Kutzinski 4737e0f32c minor 2011-10-30 17:23:04 +01:00
Christoph Kutzinski 0f9e154abb Updated doc 2011-10-30 17:05:07 +01:00
Christoph Kutzinski 8b38b6d908 Wait longer for Jenkins to finish building as these tests like to fail a lot because of timeouts 2011-10-30 17:04:02 +01:00
Christoph Kutzinski 8d85066a15 Again javac and jdt doesn't seem to agree whether something is compilable or not 2011-10-30 15:18:28 +01:00
Christoph Kutzinski 58f474dc4d fixed/suppressed some warnings 2011-10-30 14:29:24 +01:00
Christoph Kutzinski 4835e4c37c use assertTrue/False() instead of checking by yourself plus fail() 2011-10-30 14:26:14 +01:00
Christoph Kutzinski 5325a289a4 fixed/suppressed several compiler warnings 2011-10-30 14:14:13 +01:00
Seiji Sogabe b4788e6966 added assertNotContain mehtod. 2011-10-30 21:01:51 +09:00
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
Christoph Kutzinski e4ca9aca86 ignore test case which is failing sometimes 2011-10-10 22:26:26 +02:00
Christoph Kutzinski 9e93d2c5dc Eclipse jdt compiler has an ambiguity problem with the configRountrip methods 2011-10-10 22:24:43 +02:00
Christoph Kutzinski 731c97775e fixed compiler warnings 2011-10-08 12:29:39 +02:00
Erik Ramfelt 8cff4d8784 [JENKINS-7494] Fixed image resource path so it supports a context-path 2011-09-27 09:26:10 +09:00
Kohsuke Kawaguchi 28deae772e Merge branch 'mvnwithbuildsteps' 2011-09-23 23:40:35 -07:00
Kohsuke Kawaguchi f9e6fd0b68 adding a test case 2011-09-23 23:39:23 -07: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 5d903514bd improve error recovery behaviour 2011-09-23 15:16:33 -07:00
Kohsuke Kawaguchi c1451269c3 follow up merge fixes 2011-09-21 22:00:38 -07:00
Kohsuke Kawaguchi e17760256e merged with the latest trunk 2011-09-21 21:41:57 -07:00
Kohsuke Kawaguchi ce2be81243 Ant support is moved into its own plugin 2011-09-08 18:02:55 -07:00
dty 9ab5f567e3 Allow jobs associated only through fingerprinted files to appear in the
dependency graph. This functionality is enabled through a feature flag,
hudson.tasks.Fingerprinter.enableFingerprintsInDependencyGraph, which is off
by default.

- Rebuild the dependency graph as part of each fingerprint action.
  Fingerprinter.buildDependencyGraph adds information to the dependency graph
  for projects found in fingerprint records. Since the dependency graph is
  based on project, once a relationship is established between two projects,
  we can skip scanning subsequent builds of the projects. Entries in the
  graph added by the fingerprinter action will never automatically trigger
  downstream builds.

   core/src/main/java/hudson/tasks/Fingerprinter.java

- When reporting dependency changes, don't consider builds that no longer
  exist. This handles issues when projects are renamed, and new projects are
  created using the same name, causing the change to point to incorrect
  builds.

   core/src/main/java/hudson/model/AbstractBuild.java

- Tests.

   test/src/test/java/hudson/tasks/FingerprinterTest.java
2011-08-29 13:53:13 -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 2dbe144bb7 another test to verify that f322503d3a is achieving its purpose 2011-08-29 11:47:04 -07:00
Kohsuke Kawaguchi 9e09249a94 adding a test case that ensures f322503d3a is a safe change 2011-08-29 11:42:43 -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
dty 8dfa5e19ea [FIX JENKINS-10330] Update project names in fingerprints when projects are renamed.
- Added a RenameListener to Fingerprint. When the listener is invoked for
  renamed projects, it will iterate over all the builds of the project looking
  for fingerprint actions. If the build was the originator of the fingerprint,
  the buildPtr is updated; (had to make the name non-final to allow for this).
  If the build is the consumer of a fingerprint, the usages are updated.

   core/src/main/java/hudson/model/Fingerprint.java

- Expose the fingerprint data inline with the build data in the remote API.
  The renaming code also uses this method as a convenient way to get the
  fingerprints for a build.

   core/src/main/java/hudson/model/AbstractBuild.java

- Test.

   test/src/test/java/hudson/tasks/FingerprinterTest.java
2011-08-26 15:51:34 -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