Commit Graph
10778 Commits
Author SHA1 Message Date
Nicolas De loof a3aa29b261 Merge pull request #539 from pgdad/JENKINS-14772
fix JENKINS-14772
2012-08-22 08:29:47 -07:00
Jesse Glick 027ac6d3db Typo. 2012-08-21 22:17:08 -04:00
Jesse Glick 81bdb4be8e Updated to Behaviour.specify. 2012-08-21 20:39:04 -04:00
Jesse Glick 5617337e00 Jelly scripts must be in src/main/resources, not src/main/java, to be available. 2012-08-21 13:08:44 -04:00
Nicolas De Loof b7212d04a4 CanonicalIdResolver implementation to lookup user by full name
as get(String idOrFullName) suggest
2012-08-20 21:38:44 +02:00
Nicolas De Loof a42cf0d84d distinguish get(idOrFullName) and getOrCreate(id)
so that getAll() don't invoke CanonicalIdResolvers for known IDs
2012-08-20 21:25:21 +02:00
Nicolas De Loof 647c057702 Fix typo : cannon != canon 2012-08-20 19:14:45 +02:00
Nicolas De Loof ee64beec1c document mask values to be an octal 2012-08-20 11:30:57 +02:00
Seiji Sogabe 124aac681d updated Japanese localization. 2012-08-19 02:58:52 +09:00
Nicolas De Loof 80fcc481f6 [JENKINS-11759] paass context for user ID retrieval 2012-08-18 10:25:10 +02:00
Nicolas De Loof f9f091c216 restore @Nullable deleted on merge 2012-08-18 10:19:10 +02:00
Nicolas De Loof af42534def [JENKINS-11759] extension point to resolve jenkins user from SCM id 2012-08-18 10:16:35 +02:00
Nicolas De Loof 6dfd8db3c2 require RUN_SCRIPTS permission to run scripts onn node 2012-08-17 11:43:13 +02:00
OHTAKE Tomohiro 74d2607b8d [FIXED JENKINS-7894] Prevent parameter values from disappearing when user is not logged in 2012-08-17 16:54:38 +09:00
OHTAKE Tomohiro 36ab7131e7 Drag-and-drop-enabled hetero-list does not work on IE 8 since 1.477 2012-08-17 14:18:47 +09:00
Jesse Glick 749ea54f93 [JENKINS-14788] Using DeweyDecimal for robustness. 2012-08-16 11:08:12 -04:00
Jesse Glick e122698b61 [JENKINS-14788] Testing properly. 2012-08-16 10:57:30 -04:00
Nicolas De Loof 3ef743203f [JENKINS-14788] pull-up checkJavaVersion from ssh-plugin
to be used by other ComputerLaunchers to check installed java version
2012-08-16 08:20:59 +02:00
Jesse Glick bfa648152f [FIXED JENKINS-14814] Truncate deeply nested upstream causes. 2012-08-15 17:18:05 -04:00
Jesse Glick aaecf7915d [FIXED JENKINS-14816] 404 navigating to upstream builds. 2012-08-15 14:59:59 -04:00
Jesse Glick 43f1f5d100 [FIXED JENKINS-14813] 404 canceling queue items. 2012-08-15 14:35:04 -04:00
vjuranek 0ddceed69f Merge pull request #540 from cjo9900/JENKINS-7162
[FIXED JENKINS-7162] Add missing parameters as defaults when called from...
2012-08-15 04:45:25 -07:00
Nicolas De Loof c14c7619c6 let user with CONFIGURE permision rename a job 2012-08-15 08:32:42 +02:00
c3johnso 7e0d7c0acb [FIXED JENKINS-7162] Add missing parameters as defaults when called from CLI
Add all the job defined Parameters to the ParameterAction using Defaults
if not passed via the command line.
2012-08-14 18:00:10 +01:00
Esa Laine 2380a8d450 fix JENKINS-14772
This fix implements an optional retry loop for cli BuildCommand
The retry is not for the actual command, but for reading the log file
(when -v is used) This is so that slow machines, which may create the log
file so slowly that is it not present when reading of it starts,
will optionally  try to start reading it multiple times.

This is implemented via a use of an optional "-r INT" cmd option
2012-08-14 09:46:39 -04:00
Stephen Connolly e0986b5f3b Reduce duplicate entries for the same plugin and version when multiple update centers are publishing similar data 2012-08-14 10:46:53 +01:00
Nicolas De Loof c7991585bc [JENKINS-14745] use transportAuthentication to parse command arguments 2012-08-13 22:40:57 +02:00
Jesse Glick e46e1673f1 [FIXED JENKINS-14769] NPE from UpdateSite$Plugin.getNeededDependencies. 2012-08-10 13:44:49 -04:00
OHTAKE Tomohiro 9074318b91 Description preview should be enabled even if syntax highlighting is disabled
For instance, use PegDown Formatter and enable SUPPRESS_ALL_HTML.
2012-08-09 21:11:27 +09:00
OHTAKE Tomohiro e23adf0427 Fix description preview and syntax highlighting 2012-08-09 19:50:53 +09:00
OHTAKE Tomohiro cb7ca4af0f Move script element into l:header in order to prevent Quirks mode 2012-08-09 19:07:04 +09:00
Kohsuke Kawaguchi bd0063e351 documenting API access to the progressive output. 2012-08-08 15:42:59 -07:00
Jesse Glick 621eeb2b54 Fixing link again, and moving to package Javadoc. 2012-08-08 07:26:16 -04:00
Jesse Glick 3e34afb08d Typo. 2012-08-08 07:26:16 -04:00
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 f9b6f7a44c Merge branch 'rc' 2012-08-05 19:44:23 -07: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 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