Commit Graph
17505 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 45a340360e Now it comes with its own <license> header.
... so no need to complete it.
2012-05-29 14:22:51 -07:00
fma1977 71ad43a141 [FIXED JENKINS-13735]
Added test whether the currently checked slave computer actually can take the buildable item before flagging it as needed (avoids powering up and connecting to slaves for jobs they can't build).
2012-05-29 13:38:17 -07:00
murank 00a221d42f fix garbled mail headers (From/To/ReplyTo). 2012-05-29 13:25:21 -07:00
Kohsuke Kawaguchi 5a730a5962 Integrate newer trilead that has bigger buffer.
This is expected to improve the burst data transfer performance.
2012-05-29 13:20:17 -07:00
Kohsuke Kawaguchi 4aa2d39aaa Merge branch 'pull-482' 2012-05-29 11:51:20 -07:00
Kohsuke Kawaguchi 65c659d0be Removed pointless private methods. 2012-05-29 11:43:38 -07:00
Kohsuke Kawaguchi 5a51361c46 Widening of this exception incorrectly caught InterruptedException.
Narrowing it down to reduce the harm.
2012-05-29 11:37:09 -07:00
Kohsuke Kawaguchi 242e682e62 improved error diagnostics 2012-05-29 11:37:09 -07:00
Kohsuke Kawaguchi e69aa12151 no 'main' directory any more 2012-05-29 11:17:16 -07:00
Kohsuke Kawaguchi 14dbcd88d3 Renamed Runner family into *Execution.
... so that we can expose them as an object that keeps track of
execution-scoped objects.
2012-05-29 10:54:58 -07:00
Kohsuke Kawaguchi 7e82ecb64f merged back the RC branch 2012-05-28 19:48:38 -07:00
Kohsuke Kawaguchi e6b31e79d5 updated changelog as a part of the release 2012-05-28 19:48:35 -07:00
Kohsuke Kawaguchi dbee0a34fe toward the next release 2012-05-28 19:14:32 -07:00
Kohsuke Kawaguchi 885c00d409 releasing a new plugin parent POM 2012-05-28 19:14:24 -07:00
Kohsuke Kawaguchi 55ba195915 updated changelog for release 2012-05-28 19:14:24 -07:00
Kohsuke Kawaguchi e7192568ef [maven-release-plugin] prepare for next development iteration 2012-05-28 18:59:59 -07:00
Kohsuke Kawaguchi e386805600 [maven-release-plugin] prepare release jenkins-1.466 jenkins-1.466 2012-05-28 18:59:59 -07:00
olivier lamy de2054732f modify comment on compiler plugin 2012-05-28 08:36:42 +02:00
olivier lamy eea7b5105a use a non forked compiler plugin version. Hey you cannot wait 3 days ? :-) 2012-05-28 08:32:14 +02:00
Kohsuke Kawaguchi fba43bf5fb reverting access modifiers 2012-05-25 18:42:15 -07:00
Kohsuke Kawaguchi 4a6aa4a1b4 After playing with it, I now see why it should apply to all AbstractProject.
... not from user's point of view, but more from implementation point of
view (and this can be used to push SCM retry counts out of the core.)

To avoid cluttering the UI unnecessarily, adding isApplicable() to
SCMCheckoutStrategyDescriptor so that it can nominate itself only for
matrix projects.
2012-05-25 18:26:30 -07:00
Kohsuke Kawaguchi c2787404b1 if there's nothing for the user to select, display nothing. 2012-05-25 12:33:17 -07:00
Kohsuke Kawaguchi cc29c9b3b1 no practical harm in setting this to null 2012-05-25 12:33:16 -07:00
Kohsuke Kawaguchi 34d6de5097 Doc improvements 2012-05-25 12:33:16 -07:00
Kohsuke Kawaguchi 15ecb59891 Expanded to cover MatrixBuild, not just MatrixRun.
For example, a common use cases are:

- skip the parent checkout and only do the checkout in MatrixRun
- check out only once in MatrixBuild and then let all MatrixRuns build from the same directory

Accoringly,

- renamed classes to drop 'Run' since now they cover 'Build' as well.
- instead of using the boolean return value to indicate the fallback to
  default, using some backdoor to have the default implementation do
  this. I think this keeps the abstraction cleaner for the implementor
  of the extension point.
2012-05-25 12:33:15 -07:00
Sergey Burkov dc57854655 Revised version of Extension 2012-05-25 12:31:46 -07:00
Kohsuke Kawaguchi 0f03a70c9c [JENKINS-9142] added probe.
Integrated a new version of Stapler that provides debug logging for the
problem. See the ticket for more details of how to enable this probe.
2012-05-25 10:44:26 -07:00
Seiji Sogabe 0a8fb9bf67 Merge pull request #485 from manolo/master
Update Spanish
2012-05-24 22:30:51 -07:00
Kohsuke Kawaguchi 10c1eb3dbd follow up fix to d2699b4859
Further reduce the scope of the lock to only cover jobNames access, which is mandatory. if ig.doCreateItem requires synchronization, that's a job of ig.doCreateItem implementation, not that of ListView.
2012-05-24 19:59:40 -07:00
Kohsuke Kawaguchi 5f51089b32 Generalized AgentProtocol into an extension point. 2012-05-24 16:28:32 -07:00
Kohsuke Kawaguchi 25d990c539 Implemented transport security to CLI connection.
It uses Diffie Hellman to come up with one-time session key, then have
the server sign this session key to allow the client to verify that
there's no man in the middle.
2012-05-24 15:49:37 -07:00
Kohsuke Kawaguchi 8ec14ce28e Updated to the instance identity 1.2. 2012-05-24 15:48:38 -07:00
Kohsuke Kawaguchi fd5aa2bc56 bit of simplification 2012-05-24 11:02:09 -07:00
Kohsuke Kawaguchi a5691ea056 avoid using deprecated method 2012-05-24 11:01:16 -07:00
Kohsuke Kawaguchi 2f9dff73c6 Fixed PermGen OutOfMemoryError during full clean build.
Plexus compiler 1.8.6 that maven-compiler-plugin 2.4 has a static field
to store a reference to the Javac class in tools.jar

In JDK that I use (6u26), Javac has a static field that stores what
appears to be a cache of jar files (ZipFileIndex.zipFileIndexCache).
And in addition, Maven instantiates a separate ClassRealm to host plugin
jar files when a project has any build extensions.

The combined result is that during a build, we end up having multiple
copies of URLClassLoader that loads tools.jar, and each ends up caching
jar files it was used. This puts a pressure to permgen (although I
couldn't pinpoint which portions of those caches use permgen), resulting
in OOME.

In Plexus compiler 1.9, Olivier added a new feature to control the
caching/reuse of Javac compiler. While this apparently was done
primarily for fixing concurrency issues in multi-threaded builds, it is
also a useful mechanism to prevent the retention of Javac classes.

So I pushed the SNAPSHOT version of maven-compiler-plugin as
2.5-jenkins-1 and tweaking POM to use it.
2012-05-24 10:27:57 -07:00
Manolo Carrasco 9d15a7a5a8 Update Spanish translation 2012-05-24 11:18:33 +02:00
Olivier Lamy 7c51287f83 Merge pull request #484 from cquinn/master
Fixed grammatical error in build page message.
Thnaks!
2012-05-24 01:08:14 -07:00
Kohsuke Kawaguchi 18963ee9af [FIXED JENKINS-13625]
In the end, proper fix requires having a filter that tracks
GZipOutputStream.
2012-05-23 20:11:58 -07:00
Kohsuke Kawaguchi ecec5902ff leaving the record of attempted gzip encoding problem fix. 2012-05-23 20:08:57 -07:00
Carl Quinn cd34e38468 Fixed grammatical error in build page message. 2012-05-23 17:50:33 -07:00
Carl Quinn f945f91399 Merge branch 'master' of github.com:jenkinsci/jenkins 2012-05-23 17:45:19 -07:00
Kohsuke Kawaguchi be1f8f91a3 Fixed a bug in Jenkins.overallNodeProvisioner
Until now, Jenkins.overallNodeProvisioner was tracking an inconsistent
pair of numbers. On one hand, it was tracking all the executors in the
system, but then it was also only tracking the # of free-roaming
label-unassigned jobs as the queue length.

So if all your slaves are set with Node.Mode.EXCLUSIVE and you have some
free-roaming jobs, then it'll never tickle NodePrivisioner.

In other words, the # of executors weren't reflecting the actual # of
executors that can execute what's counted as the queue length.

See the problem report at
https://groups.google.com/forum/?fromgroups#!topic/jenkinsci-dev/bUwGEgOwv4Q

To fix this, I introduced another LoadStatistics that only counts
the # of executors that can execute free-roaming jobs, and # of
free-roaming jobs as the queue length. In this way, two pairs of numbers
are consistent.

This now allows us to use overallLoadStatistics for really the entire
system, including all executors and the total queue length. This is
primarily for administrators to see the resource utilization, and it is
not useful for NodeProvisioner input because it's mixing too many
different things.

The semantics change in OverallLoadStatistics.queueLength allows us to
deprecate its totalQueueLength field.
2012-05-23 17:34:47 -07:00
Kohsuke Kawaguchi 5bba8c7660 use of "Content-Encoding:gzip" was causing the automatic login initiation to fail. 2012-05-23 17:28:25 -07:00
Kohsuke Kawaguchi 95c1728c05 [FIXED JENKINS-13202] fixed a regression in untar on exotic platforms.
Fall back in non-JNA case wasn't working.
2012-05-22 18:43:45 -07:00
Dave Hunt 70ee74c5fc [FIXED JENKINS-13640] Allow file parameters to be viewed as plain text. 2012-05-22 18:30:30 -07:00
Kohsuke Kawaguchi af0af44906 Massaging the previous commit a bit.
404 for nearby configuration builds can make the life of automated
client script more complicated, so opt for redirection.
2012-05-22 18:12:19 -07:00
lvotypko add119d353 Correction of returned url 2012-05-22 17:46:29 -07:00
Vincent Latombe d1b2ba7e49 [FIXED JENKINS-13429]
Backward compatibility is preventing the View.READ permission to apply
correctly. It actually overrides the View.READ instead of complementing
it.

This change only applies default READ right if the View.READ is not
available, and the user has View.CONFIGURE + the view is not empty.
2012-05-22 17:45:01 -07:00
Fred G 2128c9d7fe Fixed broken JSON representation caused by hyperlink in console output 2012-05-22 17:39:04 -07:00
Kohsuke Kawaguchi 3b55feede9 fixed NPE.
See https://github.com/jenkinsci/jenkins/pull/474 for the original conversation
2012-05-22 17:15:19 -07:00