Commit Graph
10778 Commits
Author SHA1 Message Date
dty d6a92f37f9 Change AbstractProject.getCauseOfBlockage to block builds until they are
done with post-production (as opposed to just done with build steps). Jobs
that had long running tasks that occured in their post-production state, i.e.,
build wrappers, post-build steps, could get into the situation where a queued
build would start running on an executor while the previous build was still
running post-build actions. If the two executors shared the same workspace,
the new build could delete information with a clean that the current build
still needed for processing.

- Changed AbstractProject.getCauseOfBlockage() to call isLogUpdated instead
  of isBuilding.

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

- Added isLogUpdated.

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

- Added test case.

   test/src/test/java/hudson/model/JobQueueTest.java

- Change log

   changelog.html
2012-03-01 13:58:40 -08:00
Alex Lehmann e1ea7ddb96 Merge branch 'master' of github.com:alexlehm/jenkins 2012-03-01 22:49:52 +01:00
Alex Lehmann 8b6089b605 Mention reverse proxy issues on javadoc for getRootUrlFromRequest 2012-03-01 22:48:53 +01:00
Kohsuke Kawaguchi 660c0f6e61 Added programmatic config.xml submission/retrieval support. 2012-02-29 15:23:21 -08:00
Kohsuke Kawaguchi d90976786d LoadBalancer we put needs to be sanitized 2012-02-29 15:23:21 -08:00
Kohsuke Kawaguchi c188f11698 using IoC 2012-02-29 15:23:21 -08:00
Kohsuke Kawaguchi f19678d083 exposing major singletons to IoC 2012-02-29 15:23:20 -08:00
Vojtech Juranek a77011e09e Remove unnecessary interface, which can be confusing 2012-02-29 10:54:01 +01:00
Kohsuke Kawaguchi dddcc7639e went through all <A>s and converted them to model links where applicable 2012-02-28 21:04:13 -08:00
Kohsuke Kawaguchi 17d9b6258f adding UI sample for the context menu integration 2012-02-28 18:05:48 -08:00
Kohsuke Kawaguchi c51114a197 made the path comuptation more robust 2012-02-28 17:21:43 -08:00
Kohsuke Kawaguchi f4a89dce2c I changed where ".items" are added.
It was formerly on <LI> but now it's on <A> as we now allow bare <A>s to
have context menus.
2012-02-28 17:06:37 -08:00
Kohsuke Kawaguchi 709a0e14a1 adding more model links 2012-02-28 16:17:52 -08:00
Kohsuke Kawaguchi e778bec9fc hide/show time lag seems to create a frustrating situation where:
1. you hover over the <a> tag
2. context menu displays
3. you try to move the mouse over to the menu
4. menu disappears
5. you can't click the menu *frustration*
2012-02-28 16:09:26 -08:00
Kohsuke Kawaguchi a824d8a681 Adding a delay to show the menu.
This hopefully avoids showing menus when the user didn't intend to see
them
2012-02-28 16:05:13 -08:00
Kohsuke Kawaguchi 8f79492fbf Added navigation menus to general links.
In this change, I've added it to various links in the list view to get
the sense of how it feels like.
2012-02-28 15:21:18 -08:00
Kohsuke Kawaguchi 95fa53c44c Adjusted the error handling responsibility.
So that parameter definitions can define optional parameters.
2012-02-28 14:57:54 -08:00
Andrew Melo 8c51d26921 Fixing GET/POST requests 2012-02-28 14:53:53 -08:00
Kohsuke Kawaguchi 44a20e7d02 Merge branch 'breadcrumb' 2012-02-28 04:09:26 -08:00
Kohsuke Kawaguchi c690b1fb2a Fixed a compatibility issue with IE.
(and replaced custom event addition with simpler one from Prototype)
2012-02-28 20:26:16 +09:00
Vojtech Juranek 7bdc179016 [FIXED JENKINS-12302] Refactor anonymout class for loading groovy script into separate class as static block (due to inheritance of outer class from CLICommand) initialization leads to NPE (namely in Jenkins.getInstance Jenkins.getInstance().getPluginManager()) 2012-02-28 10:49:12 +01:00
Kohsuke Kawaguchi 8bd73307bb Created a tag that adds in-page navigation to sections 2012-02-28 11:15:28 +09:00
Kohsuke Kawaguchi fd251de507 hooking up in-page navigation menu 2012-02-28 11:01:37 +09:00
Kohsuke Kawaguchi ea27259ae9 added JavaScript library for dealing with sections 2012-02-24 20:56:48 +09:00
Kohsuke Kawaguchi 4aeed1993d added a class for section header 2012-02-24 18:32:45 +09:00
Fred G 42b1d25241 [FIXED JENKINS-850] search box should match non-casesensitively.
The real fix was provided in pull request #376 by lvotypko and vjuranek.
This commit just corrects a method name mix up, removes redundant
imports and adds the right JIRA ticket number.
2012-02-23 01:30:54 +01:00
imod 40e8952717 fix monitor activation 2012-02-22 18:54:37 +01:00
Kohsuke Kawaguchi b327fb2460 theming the additional breadcrumb element correctly 2012-02-21 16:42:53 +09:00
Kohsuke Kawaguchi c8a400ce93 added a mechanism to specify a function to lazily render the menu 2012-02-21 16:41:47 +09:00
Kohsuke Kawaguchi 516d81244a Added a mechanism to add additional breadcrumbs for in-page navigation.
This is useful for adding in-page navigation in a large page.
2012-02-21 16:31:31 +09:00
Kohsuke Kawaguchi 2881d04394 doc improvement 2012-02-21 12:02:11 +09:00
Kohsuke Kawaguchi 38532186db properly scoping names in the JavaScript to avoid leakage 2012-02-21 11:48:40 +09:00
Kohsuke Kawaguchi a0a14c25c7 moved breadcrumb related code into an adjunct so that all the relevant pieces are in one place 2012-02-21 11:40:19 +09:00
Kohsuke Kawaguchi e4bc362fdc Cache what's already loaded. 2012-02-21 09:55:07 +09:00
Andrew Bayer 3a753c56fe Merge pull request #379 from imod/deactivate-cycles
Deactivate plugins with cyclic dependencies
2012-02-20 12:06:33 -08:00
imod 8d220fb193 update comments 2012-02-20 19:52:35 +01:00
vjuranek 48661984c9 Merge pull request #378 from kutzi/show-time-already-in-queue
Display total time for which item has been queued in tooltip
2012-02-20 07:32:46 -08:00
Kohsuke Kawaguchi 0952333e7a refactored a bit for better reuse 2012-02-20 22:29:21 +09:00
Kohsuke Kawaguchi 5276c2f88a hooking up the whole thing for a demoable state 2012-02-20 22:23:06 +09:00
Kohsuke Kawaguchi 30bb3fde5b adding the server side code to generate context menu 2012-02-20 18:54:53 +09:00
Kohsuke Kawaguchi 7c58bb4865 doc improvement 2012-02-20 17:28:39 +09:00
Kohsuke Kawaguchi 8fa41d0347 Delayed instantiation to simulate AJAX effect, and icons in the menu. 2012-02-20 17:18:25 +09:00
Kohsuke Kawaguchi 2632bdfe4b Functioning auto-appear/hide menu for breadcrumbs 2012-02-20 16:55:32 +09:00
Kohsuke Kawaguchi c19a288ab7 Breadcrumb in the main section. 2012-02-20 16:01:47 +09:00
imod 8eb558bcb0 inform administrator about deactivated plugins because of cyclic dependencies 2012-02-19 18:31:38 +01:00
imod aad6e4c66c only deactivate plugins with cycle dependencies instead of failing to launch Jenkins 2012-02-19 18:29:53 +01:00
Kohsuke Kawaguchi 33d1a774d4 Sticky breadcrumb at the top 2012-02-19 17:17:30 +09:00
Kohsuke Kawaguchi d0c9ee6588 Touch up and doc improvement.
Also animate color so that a transition from one notification to another
will appear more smoothly.

Promoted all members of defaultOptions.* up the dot to make core more
terse.
2012-02-19 10:09:17 +09:00
Kohsuke Kawaguchi c44cd04302 need to hide the element at the end, or else the top region becomes
unclickable.
2012-02-19 09:46:12 +09:00
Kohsuke Kawaguchi 2c354a5f80 Finalizing the apply button support.
Added server side utilities to generate apply-aware responses.
2012-02-19 09:46:11 +09:00