Commit Graph
11799 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi f824568502 When NodeMonitor is reconfigured or when the instance goes online, recompute the values.
Based on the following IRC conversations:

 (04:02:29 PM) cliffano: my build slave is offline, "Disk space is too low. Only 0.331GB left on" , but the box has 5.5Gb free.. i've tried disabling the disk space checking, restarted both master and slave, that error message is still there
 (04:03:03 PM) rtyler: I've seen that a couple times, I think I just disconnected and reconnected the slave
 (04:03:47 PM) cliffano: no dice for me.. reconnected several times.. even tried deleting more stuffs to free up more space, still exactly the same error message
 (04:04:04 PM) rtyler: you could try reinstalling windows
 (04:04:06 PM) ***rtyler ducks
 (04:04:22 PM) cliffano: lol yea
 (04:04:49 PM) kohsuke: cliffano: you can force the recomputation of those metrics
 (04:04:56 PM) kohsuke: otherwise it's only once an hour
 (04:05:17 PM) rtyler: wait, you can force it?
 (04:05:37 PM) kohsuke: http://ci.jenkins-ci.org/computer/ "refresh status"
 (04:06:26 PM) rtyler: ah
 (04:07:25 PM) cliffano: kohsuke: thanks, that worked..
 (04:07:43 PM) kohsuke: although I expect that if you've been reconnecting that should be sufficient
 (04:08:08 PM) kohsuke: And I probably should also do that automatically when you reconfigure the column, threashold, etc
 (04:10:39 PM) cliffano: kohsuke: reconnecting didn't help somehow... i tried disconnecting from the UI, tried killing the process on the slave machine, restarted etc
 (04:10:56 PM) kohsuke: it's probably caching the value
 (04:12:16 PM) cliffano: kohsuke: does it cache in the filesystem? i restarted both master and slaves
 (04:13:09 PM) kohsuke: it's stored in Computer
 (04:13:11 PM) kohsuke: so I guess that explains
 (04:13:34 PM) kohsuke: let me clear this when a slave connects
 (04:16:23 PM) cliffano: kohsuke: thanks :)
2012-08-07 16:31:11 -07:00
Jesse Glick fe6febb090 Properly documenting null behavior of User-related methods. 2012-08-06 21:03:33 -04:00
Andrew Bayer 3bfeda469c [FIXED JENKINS-14696] Don't automatically re-sort matrix axes in alphanumeric order on reload 2012-08-06 16:04:12 -07:00
Seiji Sogabe ce35c26b74 fixed compilation error. 2012-08-06 19:52:50 +09:00
Kohsuke Kawaguchi f8e7b6a654 the trunk is toward 1.478-SNAPSHOT 2012-08-05 19:44:50 -07:00
Kohsuke Kawaguchi f9b6f7a44c Merge branch 'rc' 2012-08-05 19:44:23 -07:00
Jesse Glick 10dddebf7b [FIXED JENKINS-11739] Various mistakes in annotation processors affecting some plugins. 2012-08-03 17:34:56 -04:00
Jesse Glick dbb100da58 [FIXED JENKINS-14495] Hetero lists not working correctly after adding elements.
Unlike [JENKINS-14514] this is a true fix rather than a workaround (now removed), and is more general.
cjo9900 discovered that behaviors were being redundantly registered (as of 1.474 the monolithic JS is broken up);
this caused some behaviors to be run repeatedly on the same elements, breaking reasonable expectations of some behaviors.
The ideal fix would be to change Behavior.register to be idempotent: for example, key it by selector, then maintain a set of distinct behavior functions for each.
Unfortunately some adjuncts directly call Behavior.list.unshift, bypassing register(...), which would be tricky to intercept (would need to make a mock of Array).
The known one cases are in core, but it is possible plugin adjuncts do this too, in which case it would be incompatible to (say) change the Array<Map<String,Behavior>> to a Map<String,Array<Behavior>>.
Instead, permitting redundant registrations as before, and just silently skipping all but the first at runtime when applying behaviors.
Beware that since adjuncts are loaded from multiple places, different JS function objects are registered each time, so a naive set of behavior functions does not work;
have to identify functions by their toString in order to ensure that each is run only once.
(Currently once _per selector_, conceivably >1x per element; could if necessary be refined to make sure a given behavior is only run once on a given element during one call to applySubtree even if the element matches multiple selectors.)
2012-08-03 12:53:48 -04:00
Nicolas De Loof 363cc0e3a6 Merge branch 'Vlatombe/user-transient-actions' 2012-08-02 15:30:16 +02:00
Nicolas De Loof 3b54412077 support variable expansion to define Java path 2012-08-02 15:18:12 +02:00
Nicolas De Loof 2ca12ecbda set the path to the Java runtime to be used
launching windows managed slave
2012-08-02 15:18:12 +02:00
Vincent Latombe 39572fbad7 Add a new Extension Point : TransientUserActionFactory
Displays transient user actions in the User sidebar
Displays UserProperties that are also Action in the User sidebar
2012-08-02 14:44:35 +02:00
Jesse Glick 88b613e95f [JENKINS-11739] Cannot compile a plugin with a Plugin subclass in the same package as a package-info.java.
(Not quite FIXED yet since org.kohsuke.stapler.jsr269 seems to suffer from a similar bug, currently printing ugly warnings.)
2012-08-01 18:13:13 -04:00
lvotypko 98f0e9fc92 Show in view scheduled jobs 2012-07-31 11:55:13 +02:00
Kohsuke Kawaguchi a6d155967b [maven-release-plugin] prepare for next development iteration 2012-07-31 02:10:19 -07:00
Kohsuke Kawaguchi 80ff644395 [maven-release-plugin] prepare release jenkins-1.476 2012-07-31 02:10:18 -07:00
Kohsuke Kawaguchi 6d119ef169 the intent was not to pick up stuff from sidepanel when building context menu 2012-07-31 17:36:56 +09:00
Kohsuke Kawaguchi d4c747729e fixed a warning 2012-07-31 17:32:57 +09:00
Kohsuke Kawaguchi 5d52b7f171 Fixed the unit test assertion failure. 2012-07-31 17:18:20 +09:00
Kohsuke Kawaguchi 8350649720 addin doc improvements 2012-07-31 16:30:33 +09:00
Kohsuke Kawaguchi db32ad9293 Exposing more REST API from update center and writing docs 2012-07-31 16:30:33 +09:00
Kohsuke Kawaguchi 9969a9549a require POST on destructive operations 2012-07-31 16:30:33 +09:00
Kohsuke Kawaguchi 0427b1449b refactored 2012-07-31 16:30:33 +09:00
Kohsuke Kawaguchi 7db5fb34aa refactored 2012-07-31 16:30:33 +09:00
Kohsuke Kawaguchi 6a7df13a85 Made the REST API more discoverable. 2012-07-31 16:30:33 +09:00
Kohsuke Kawaguchi a417295331 Added "manage Jenkins" as a sub-menu to the Jenkins context menu. 2012-07-31 16:30:32 +09:00
Rafa de la Torre d0dbd3b852 [FIXED JENKINS-13916] Text parameters are now defined and shown in a textarea instead of a one line textbox. 2012-07-31 16:30:32 +09:00
Kohsuke Kawaguchi 73ca50cd99 adjusting the default implementation 2012-07-31 16:30:31 +09:00
Andrew Bayer aa603603e9 [FIXED JENKINS-14327] Added setter for labelString to Node. 2012-07-31 16:30:31 +09:00
Kohsuke Kawaguchi a2955928d5 More code reuse 2012-07-31 16:30:11 +09:00
Vojtech Juranek cb02009ecd Update transient action after config submit, as trantient action may change due to change of view properties. 2012-07-31 16:30:11 +09:00
Thorsten Möllers 2e8cc7438e In MatrixConfiguration get ScmCheckoutStrategy from parent 2012-07-31 16:30:11 +09:00
Jesse Glick 0c2a80928b [FIXED JENKINS-14434] 96442cd broke "Delete" buttons in some cases.
Seems to be due to hetero-list.jelly importing repeatableDeleteButton.jelly but nothing on the page loads repeatable.js.
(Presumably worked for /configure just by accident because someone else included repeatable.jelly on the same page.)
2012-07-30 18:59:33 -04:00
Jesse Glick acf394f4f6 [FIXED JENKINS-14514] 96442cd broke "Add <Something>" buttons for many plugins.
Not yet clear to me exactly what went wrong, but debugging shows that the init(...) function
is called twice: once with legitimate arguments, then again with a bogus 'master' argument.
Seems to suffice to ignore redundant initializations of the same element.
2012-07-30 18:57:42 -04:00
OHTAKE Tomohiro d531f75f4e [FIXED JENKINS-14451] Do not read junitResult.xml many times 2012-07-30 15:41:36 +09:00
Larry Shatzer, Jr 439c56a5a5 When selecting one plugin, find all other of the same type, and make sure that check box is toggled too. 2012-07-28 11:40:06 +02:00
Jesse Glick 6a070c44f0 Link fix. 2012-07-27 16:51:28 -04:00
vincentkok bc6c0be406 Add @Exported annotation to the executor of a Run to have more information on a running Job via the remote API 2012-07-26 11:24:40 +09:00
Emanuele Zattin 80a3f1fe0c Actually rebuild the axes at the beginning of the matrix build 2012-07-26 11:13:50 +09:00
Kohsuke Kawaguchi 110f5a0ddf Merge branch 'pull-526' 2012-07-26 11:10:19 +09:00
Kohsuke Kawaguchi 7bd9091786 Merge pull request #528 from photoionized/master
I'm not entirely sure if the reparse point should be considered the same as symlinks, but I'm merging this anyway.
2012-07-25 19:01:32 -07:00
Nicolas De Loof 2ead8ee55d Merge branch 'master' of github.com:jenkinsci/jenkins 2012-07-25 13:34:05 +02:00
Nicolas De Loof 45a3886760 [FIXED JENKINS-10747]
notify user some results have been truncated
provide link to get more results
2012-07-25 13:33:53 +02:00
Jesse Glick 33735a490d When overriding UserIdCause.getShortDescription, you need to override print as well.
Noticed via failure in BuildCommandTest.testConsoleOutput.
https://github.com/jenkinsci/jenkins/pull/522
2012-07-24 15:49:35 -04:00
Jesse Glick 0c32a8ffb5 Turn off NetBeans CoS for whole project.
Note that http://netbeans.org/bugzilla/show_bug.cgi?id=197335 displays this incorrectly.
2012-07-24 14:22:03 -04:00
Andrew Stucki a9a019918b Fix Windows symlink detection 2012-07-24 13:09:01 -05:00
Jesse Glick ac4f8c6daa Always show the section header. 2012-07-24 11:04:28 -04:00
Jesse Glick 81ed2a04bb Display collapse button only when there are already installations. 2012-07-24 10:59:26 -04:00
Jesse Glick a5eecaa4a9 Rather than patching configure.jelly, safer and clearer to directly adjust ToolInstallation/global.jelly. 2012-07-24 10:39:41 -04:00
Jesse Glick 16a8339ac9 Inlining and customizing advanced.jelly to fix alignment. 2012-07-24 10:20:44 -04:00