Commit Graph
10778 Commits
Author SHA1 Message Date
Stephen Ware 94cbf5baf8 [FIXED JENKINS-7798]
File size should be shown on project dashboard for archived artifacts.

Run.java:
	Add member String length to Artifact object.
	Add paramter String len to Artifact constructor.
	Add method String getLength to Artifact object.
	addArtifacts method of Run class gets length of files as string
	for actual files or "0" if a directory and passes this as arg
	to Artifact constructor.

artifacts-index.jelly and artifactList.jelly
	reworked to use same approach as
	core/src/main/resources/hudson/model/DirectoryBrowserSupport/dir.jelly
	The desire being a consistent look in the interface.

Signed-off-by: Stephen Ware <stephen.e.ware@intel.com>
2011-09-12 18:36:19 -07:00
Ciprian Ciubotariu 37a22a1cac [FIXED JENKINS-9577] Apply file permissions from zip archives
Using the zip support classes just like Ant does in order to apply
permissions. As a side-effect, remote streams need to be stored in a
temporary file before actually unzipping them.
2011-09-12 18:18:19 -07:00
Seiji Sogabe 41c3f37eff i18n and l10n(ja) for PluginManager. 2011-09-12 23:27:04 +09:00
Seiji Sogabe b378e63779 l10n(ja). 2011-09-12 22:54:27 +09:00
Seiji Sogabe 1d967ed2f7 commit df9c6c62344b4d8153b4822b766701a79a749d03
Author: Seiji Sogabe <s.sogabe@gmail.com>
Date:   Mon Sep 12 19:59:13 2011 +0900

    added changelog for JENKINS-7565.

commit c48915c27e87c1eabf2d0f70c8d423d4d8a8f40e
Author: OHTAKE Tomohiro <ohtake.tomohiro@jp.fujitsu.com>
Date:   Thu Sep 8 20:06:38 2011 +0900

    [JENKINS-7565] Add "un/check all" buttons on matrix-based security
2011-09-12 20:00:12 +09:00
Kohsuke Kawaguchi f41ecbc7ac if the plugin is built with 1.431-SNAPSHOT core, we don't want that to automatically pick up ant & javadoc. We only want that for plugins built against 1.430 or earlier. 2011-09-08 19:48:22 -07:00
Kohsuke Kawaguchi be50785b0c also verify that 1.2-SNAPSHOT is considered something like 1.2.-999 2011-09-08 19:47:09 -07:00
Kohsuke Kawaguchi cc796a9fce fixed a bug in handling version number comparison between "1.*" and "1" 2011-09-08 19:42:41 -07:00
Kohsuke Kawaguchi 930dfd77d7 adding back javadoc as a plugin 2011-09-08 18:02:56 -07:00
Kohsuke Kawaguchi 778fff9cd1 Splitting Javadoc into its own plugin. 2011-09-08 18:02:56 -07:00
Kohsuke Kawaguchi 3925eaa3db Ant support is split off to a plugin. 2011-09-08 18:02:55 -07:00
Kohsuke Kawaguchi aa93737e13 Prefer Jenkins-Version 2011-09-08 18:02:55 -07:00
Kohsuke Kawaguchi ce2be81243 Ant support is moved into its own plugin 2011-09-08 18:02:55 -07:00
Kohsuke Kawaguchi b3bb9daa0e there's a race condition that Thread.start() doesn't imply the thread to get going right away.
So consider the thread running as soon as we create it. This allows the UI to show the progressive log icon right away without the user reloading back later
2011-09-08 18:02:55 -07:00
Nicolas De loof 39b19fb61e Merge pull request #226 from d-rep/JENKINS-10443
Fix for JENKINS-10443: Added way to mark all plugins to be updated at onc
2011-09-05 08:55:45 -07:00
OHTAKE Tomohiro 4f573d167d [JENKINS-3727] Read jar manifest to detect the maven version 2011-09-06 00:31:55 +09:00
Drew Repasky 920e8cd7c9 Fix for JENKINS-10443: Added way to mark all plugins to be updated at once 2011-09-04 17:48:48 -04:00
Dean Yu 9a48907ab0 Merge pull request #223 from recampbell/master
Introduce a Jenkins.RUN_SCRIPTS permission
2011-09-01 09:33:42 -07:00
Ryan Campbell 39e71081b3 Rename EXECUTE_SCRIPT to RUN_SCRIPTS 2011-08-31 20:02:07 -05:00
Ryan Campbell cfa7be10a8 Rename EXECUTE_SCRIPT to RUN_SCRIPTS 2011-08-31 19:54:34 -05:00
Kohsuke Kawaguchi 7de144146b follow the contract to have '/' in the end 2011-08-31 16:33:01 -07:00
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 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 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
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 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
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
Kohsuke Kawaguchi 3df6408c12 Jenkins 2011-08-27 09:01:38 -07: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
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 3f4d01ec15 [JENKINS-8856] evacuate stdout at OS level to avoid interference with
JVM.
2011-08-25 17:26:15 -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 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
Kohsuke Kawaguchi bcdff8c55b if launcher fails to connect silently, report an error 2011-08-24 09:24:28 -07:00
Kohsuke Kawaguchi 9522cecfe3 FindBugs bug cleanup 2011-08-23 23:16:53 -07:00
Kevin Sawicki 2e9292f8dc Fix typos in SCM class comments.
Non-functional change.
2011-08-23 17:30:00 -07:00
Kohsuke Kawaguchi 3bbbe2db22 final was missing 2011-08-23 15:53:45 -07:00
Kohsuke Kawaguchi 872dfe8aaf CLI clients should be able to see plugin classes 2011-08-23 14:12:09 -07:00
Kohsuke Kawaguchi 13d8a744be Ryan reported a dead lock caused by getView(String), so removing synchronized and requiring the list be concurrently iterable. 2011-08-23 14:12:09 -07:00
Kohsuke Kawaguchi 5ac08becfc improving error diagnostics 2011-08-23 14:12:09 -07:00
Kohsuke Kawaguchi 4c34e4cdc4 adding more default implementations 2011-08-23 14:12:09 -07:00
Kohsuke Kawaguchi d6c3e702a1 doc improvement 2011-08-23 14:12:09 -07:00