Commit Graph
17505 Commits
Author SHA1 Message Date
Andrew Bayer a4d23231dd [FIXES JENKINS-10864] Adding "Latest Test Results" link to matrix
project pages.
2011-08-31 14:15:30 -07:00
Ryan Campbell 6b5c4436d1 Introduce a fine-grained permission to control who is allowed to run the Groovy Console. 2011-08-30 16:07:36 -05:00
dty 5fdab8b4f7 - Updated @since annotation, since 1.429 RC was cut before I could commit. 2011-08-30 10:03:32 -07:00
dty 2de6b59e85 Merge branch 'master' of github.com:jenkinsci/jenkins 2011-08-30 09:58:28 -07:00
Kohsuke Kawaguchi 143fddc61a Bundle the translation-assistance plugin 2011-08-29 15:42:06 -07:00
Kohsuke Kawaguchi aca30e5553 the trunk is toward 1.430-SNAPSHOT 2011-08-29 14:36:17 -07:00
Kohsuke Kawaguchi a221ced837 creating an RC branch 2011-08-29 14:36:13 -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 244ff567cc Merge branch 'master' of github.com:jenkinsci/jenkins 2011-08-29 11:50:54 -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
Kohsuke Kawaguchi 5474755aee making this overridable 2011-08-29 11:25:31 -07:00
Kohsuke Kawaguchi e95de82644 adding a constructor that's friendly to subtyping 2011-08-29 11:25:24 -07:00
Kohsuke Kawaguchi f322503d3a Reverting 4de81f1eb3.
Max Spring discovered a stack overflow in http://jenkins.361315.n4.nabble.com/channel-example-and-plugin-classes-gives-ClassNotFoundException-td3756092.html that pointed this call into thread context classloader (TCL) as the culprit. Independently, Paul Sandoz discovered the same issue in our products. If TCL is another classloader that delegates to UberClassLoader (UCL), this code causes infinite recursion.

And moreover, given the goal of UCL, it seems wrong that this class is changing behaviour based on contextual information like TCL.

 In looking at 4de81f1eb3, the change was introduced to make sure XStream unmarshalling invoked from Plugin.start() would see the classes in that plugin. This was an issue back then when plugins are prepared and loaded one by one, as UCL didn't have visibility into plugins being prepared. But in the current Jenkins, classloaders for all the plugins are prepared, before any plugin gets started, so by the time Plugin.start() runs, UCL is fully functioning.

 Therefore, there's no need to consult TCL for the purpose of resolving its own classes. I could have also removed the code that sets TCL, but because some libraries often depend on TCL and doesn't properly look at caller class, I'm leaving it in, even though it's generally a bad practice to rely on TCL in multi-classloader apps like Jenkins
2011-08-29 10:56:55 -07:00
Kohsuke Kawaguchi 91fafb4e9e merged back the RC branch 2011-08-29 10:31:17 -07:00
Kohsuke Kawaguchi 758b06ef24 updated changelog as a part of the release 2011-08-29 10:31:15 -07:00
Kohsuke Kawaguchi efe76e9eb0 toward the next release 2011-08-29 09:32:10 -07:00
Kohsuke Kawaguchi c3453e21f8 releasing a new plugin parent POM 2011-08-29 09:32:03 -07:00
Kohsuke Kawaguchi 9360b8c423 updated changelog for release 2011-08-29 09:32:02 -07:00
Kohsuke Kawaguchi c354a01efd [maven-release-plugin] prepare for next development iteration 2011-08-29 09:19:10 -07:00
Kohsuke Kawaguchi a3d5d3ce6e [maven-release-plugin] prepare release jenkins-1.428 jenkins-1.428 2011-08-29 09:19:10 -07:00
Ryan Campbell f3815178be Add a WorkspaceListener extension point 2011-08-29 17:21:54 +02:00
Kohsuke Kawaguchi 851a999c87 not exposing the setBuiltOnStr to arbitrary external methods. It's really only for internal consumption. 2011-08-28 11:30:54 -07:00
Richard Mortimer f8e92df4d5 Add changelog entry for JENKINS-10831 2011-08-28 11:30:53 -07:00
Richard Mortimer 67262e455f JENKINS-10831 maven submodule build fails doing mkdir on master.
Remove the shadow copy of buildOn from MavenBuild.java and move the setter to
AbstractBuild to allow MavenModuleSetBuild.java to continue to set the
build node.
2011-08-28 11:20:11 -07:00
Kohsuke Kawaguchi 452d638fac following up tweaks to the previous commit, and explaining what we don't do so that future versions don't inadvertently mess up them 2011-08-28 11:17:32 -07:00
Tim Pizey 253fee3726 Do not keep changing permissions on install directory. 2011-08-28 11:15:08 -07:00
Mark Field edda7fb465 Add displayName and description as further optional tags that can be submitted as part of an External run 2011-08-28 11:05:35 -07:00
Stefan Wolf 46e8ed3f3c Moved groovy compilation phase from core to parent
Use stock gmaven plugin to achieve this
2011-08-28 10:58:25 -07:00
Christoph Kutzinski b9ce1520cd make FindBugs happy 2011-08-27 21:57:37 +02:00
Kohsuke Kawaguchi 3df6408c12 Jenkins 2011-08-27 09:01:38 -07:00
Kohsuke Kawaguchi 32956d2616 also compress the PNG file 2011-08-27 09:00:07 -07:00
Kohsuke Kawaguchi 59c04d8e9a added svg2png script 2011-08-27 08:55:48 -07:00
olivier lamy c8c10b2f2e issue not fixed 2011-08-27 14:48:20 +02:00
Christoph Kutzinski 6d99ffb637 fixed serving of JARs if running with hudson-dev:run which was broken since https://github.com/jenkinsci/jenkins/commit/a376eb5832a75d4fb840a9088b37a988582b0965 2011-08-27 11:56:15 +02:00
Olivier Lamy 76791e0f8d changelog entry for JENKINS-10831 2011-08-27 21:06:54 +03:00
Olivier Lamy 50a82775e1 Merge pull request #219 from oldelvet/jenkins-10831-npe
Ignore null reporters field in MavenBuild$RunnerImpl.post2 and avoid a NPE.
Thanks !
2011-08-26 23:51:53 -07:00
Richard Mortimer 2fa40188b9 Ignore null reporters field and avoid a NPE.
The NPE can occur if a build fails during checkout and hence the run phase
never gets called. See JENKINS-10831 for an example of this happening.
2011-08-27 00:22:40 +01: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
Nicolas De Loof 532ab9448d [JENKINS-10819] replace wagon-http-lightweight with wagon-http (httpclient) 2011-08-26 13:02:38 +02:00
Kohsuke Kawaguchi 9dca500e22 [FIXED JENKINS-10799] very early on during the boot sequence, NPE can
happen.

This happens because the version number isn't computed yet, but we try
to put that into HTTP header.

Fixing this by making <st:header/> tolerate null in value or name.
2011-08-25 17:29:57 -07:00
Kohsuke Kawaguchi 3f4d01ec15 [JENKINS-8856] evacuate stdout at OS level to avoid interference with
JVM.
2011-08-25 17:26:15 -07:00
Kohsuke Kawaguchi 9c9379e965 [FIXED JENKINS-10810] integrated the version that works with IBM JDK 2011-08-24 14:52:44 -07:00
Kohsuke Kawaguchi 552741c980 [FIXED JENKINS-10805] preserve the timestampa as well as permissions 2011-08-24 12:02:14 -07:00
Kohsuke Kawaguchi 4f3a285ab4 [FIXED JENKINS-8837] set a dummy mojo object in Maven3, and documented
that this feature is now deprecated.
2011-08-24 11:50:39 -07:00
Kohsuke Kawaguchi 9144caad2a Merged my local changes. 2011-08-24 09:38:52 -07:00
Kohsuke Kawaguchi df3192a44b merged additional changes 2011-08-24 09:32:03 -07:00