Commit Graph
5346 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 7d169eb41a absolute path shouldn't resolve from the current parent. 2011-03-11 14:22:42 -08:00
Kohsuke Kawaguchi a6a148c624 Added a visitor to walk the tree structure of Item&ItemGroup 2011-03-11 14:17:38 -08:00
Kohsuke Kawaguchi df32805382 improving the error handling 2011-03-11 14:17:38 -08:00
Kohsuke Kawaguchi c050265450 Implementing a better auto-completion 2011-03-11 10:28:54 -08:00
Kohsuke Kawaguchi 08012073f2 Switching to modern auto-completion text box 2011-03-11 10:28:54 -08:00
Kohsuke Kawaguchi bd54f999d8 properly capture the currentDescriptorByNameUrl (when <l:renderOnDemand> is nested twice) 2011-03-11 10:28:54 -08:00
Kohsuke Kawaguchi 6eccb54272 exposed the method for reuse 2011-03-11 10:28:54 -08:00
Kohsuke Kawaguchi 630c20fe14 Stapler should delegate to us for crumb generation 2011-03-11 10:28:54 -08:00
Kohsuke Kawaguchi b6ecd04340 adjuncts are like static resources, and they should be available without read access, or else page rendering can fail 2011-03-11 10:28:54 -08:00
Kohsuke Kawaguchi a091493c7a - md is not concurrency safe, so the whole thing needs to be synchronized or we need a pool, like ThreadLocal
- There's a convenience method that creates hex string
2011-03-11 10:28:54 -08:00
Kohsuke Kawaguchi cc90da3533 added lazy loading support for <f:dropdownListBlock> 2011-03-11 10:28:54 -08:00
Kohsuke Kawaguchi 3102764c89 Generalized the lazy rendering of a fragment to <l:renderOnDemand> tag. 2011-03-11 10:28:54 -08:00
Kohsuke Kawaguchi 7fb63214d7 Used the JavaScript proxy support to lazy load configuration fragments in <l:hetero-list> 2011-03-11 10:28:54 -08:00
Kohsuke Kawaguchi 890325e48e Merge branch 'rc' 2011-03-11 10:28:28 -08:00
Kohsuke Kawaguchi 70d1039b51 regression fix. ConcurrentArrayList doesn't support iterator-based removal 2011-03-10 18:38:59 -08:00
Olivier Lamy 888b9d3683 [JENKINS-9006] update changelog 2011-03-10 21:29:16 +01:00
Paul Weiss 35023af76c Fix bug JENKINS-9006: don't fail an email if only one of the recipients is bad. 2011-03-10 14:01:09 -05:00
Kohsuke Kawaguchi 01dd347fa0 Making pronoun customizable 2011-03-09 17:39:57 -08:00
Kohsuke Kawaguchi c7a6c824e8 Added additional event hooks.
- Pass TaskListener to enable listeners to report what they are doing
- Added another callback to report a failure
2011-03-09 13:56:31 -08:00
Tom Rini be08aa09ba Allow for a Node to veto bringup
These changes allow for a Node to check configuration values and
potentially veto bringing up a Node that is otherwise in demand.  For
example the Lab Manager plugin could be extended to allow for only 5
slaves in a given cloud to be online at given time.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-03-09 13:48:39 -08:00
Kohsuke Kawaguchi 86d88e5e7b [JENKINS-8929] follow up changes
- AbstractProject.getBuildingUpstream/getBuildingDownstream()
  should be symmetric.
- It's unlikely for us to add another category of items,
  so reverted getUnblockedItems() implementation to the older one
  that was more efficient.
- ItemList was meant to be internal, so keep it as such,
  at least for now.
2011-03-09 13:03:28 -08:00
Robert Elliot 6de6353aeb Changed logic to build list of unblocked items in the queue safely so it will not break if a new category of queue items is added 2011-03-09 11:11:15 -08:00
Robert Elliot b40e7b4228 [FIXED JENKINS-8929] Changed the definition of a building downstream project to one that is Building, Waiting, Pending or Buildable
but NOT blocked.  This prevents the deadlock condition where upstream project A is blocked on downstream project B, which is
blocked on upstream project A - now in this scenario B will remain blocked but A will build, eventually freeing up B.
2011-03-09 11:11:15 -08:00
Kohsuke Kawaguchi 114546f538 doc improvement 2011-03-09 10:38:03 -08:00
Kohsuke Kawaguchi 229f536cba [FIXED JENKINS-8866] Look for Descriptor.getId()==null and warn the administrator 2011-03-08 11:04:00 -08:00
Kohsuke Kawaguchi 2bba3bca45 Exposed the pending provisioning requests to outside. 2011-03-07 11:55:05 -08:00
Kohsuke Kawaguchi edea4982fd i18n 2011-03-05 14:26:23 -08:00
Andrew Bayer f7dbe86350 If you had two clouds and only the second one could provision a label, it'd never get that far - check to see if a cloud can provision a label before trying to do so. 2011-03-04 11:01:43 -08:00
Kohsuke Kawaguchi 7c2a626bc3 improved error diagnostics 2011-03-02 15:41:21 -08:00
Kohsuke Kawaguchi 22ee71f993 [FIXED JENKINS-8579] defined a mechanism to replace some of the key UI text.
I wasn't initially planning to do this, but it turns out more people needed this feature than I thought.

I left the text as is, but defined a mechanism to override this in the plugin, in a possibly context sensitive way. For example, a plugin can replace this text on a job-by-job basis, or by looking at some property/builder/etc.
2011-03-02 01:43:40 -08:00
Stuart McCulloch 998752442a JENKINS-8897 2011-03-01 12:07:58 -08:00
Kohsuke Kawaguchi d4db356c1e expose this to plugins 2011-03-01 12:07:25 -08:00
Kohsuke Kawaguchi f9f030db8f thread dump now reports all the threads from all the slaves, not just
the master.
2011-02-28 22:49:29 -08:00
Kohsuke Kawaguchi 9f09e8ac59 [FIXED JENKINS-8892] set the classloader for GroovyShell
Otherwise plugin classes won't resolve.
2011-02-27 11:46:08 +09:00
Nigel Magnay bf8c53c5ce When using a run parameter, you currently can only access it with
${param}

param = http://host/job/foo/14

If you just wanted the name ('foo') or the number (14) as an expansion,
you're forced to re-tokenise it somehwere else such as a script.

Add 2 extra environment vars:
param.jobName = foo
param.number  = 14

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2011-02-26 13:17:03 +00:00
Kohsuke Kawaguchi 2b59a93e3e exposing more variables 2011-02-23 18:10:59 +09:00
Kohsuke Kawaguchi 6537f186ec making it public so that tests and other plugins can replace it 2011-02-23 17:25:16 +09:00
Kohsuke Kawaguchi 11365c7eec Exposed more variables. 2011-02-23 11:23:38 +09:00
Kohsuke Kawaguchi a9efb3dac2 fixed a possible race condition (INFRADNA-65) 2011-02-18 11:09:02 -08:00
Kohsuke Kawaguchi 12ab40501a doc improvements 2011-02-18 09:16:11 -08:00
Brian Atkinson a25c0b0d72 Remove dead code. 2011-02-16 19:48:44 -06:00
Brian Atkinson 1917efdc33 Clean up unused imports 2011-02-16 19:48:44 -06:00
Brian Atkinson acfa7597bf Clean up a few javadoc typos 2011-02-16 19:48:44 -06:00
Brian Atkinson 92fbb8fab9 Fix CLRF 2011-02-16 19:48:43 -06:00
André Twupack bf45d9ed8e Proper resource bundle entries for testing email 2011-02-16 11:57:07 -08:00
alanharder 5f1fef602c [FIXED JENKINS-7442] Fix expansion of EnvVars in ant properties.
Ant build step had quite a mix: buildFile and antOpts expanded against
env, properties against buildVariables, and targets against both.
Now merging buildVariables into env and applying to all.
2011-02-16 10:15:40 -08:00
alanharder 8e6779f78b change prefix of BUILD_TAG variable to "jenkins-" 2011-02-16 10:12:34 -08:00
alanharder faf6268776 fix javadoc typo 2011-02-16 10:11:26 -08:00
alanharder b7304fa827 Merge branch 'master' of github.com:jenkinsci/jenkins 2011-02-16 08:30:29 -08:00
Kohsuke Kawaguchi a545a394d9 for serialization work these interfaces need to be public 2011-02-16 08:28:00 -08:00