Commit Graph
17505 Commits
Author SHA1 Message Date
jglick 7cff653800 Do not make DescriptorExtensionList attempt to override a static method from ExtensionList. Should fix CCE caused by last commit.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30748 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-05 18:48:48 +00:00
Kai Inkinen b52d73f139 [Debian install] Make sure that all hudson processes are stopped after the init script stop
* Using the hudson-cli.jar client causes hudson to spawn new processes (e.g. restart), which might lead to stop/restart failing in the init script
2010-05-05 15:17:55 +03:00
Kai Inkinen 20318e6c04 [Debian install] Make sure we run as root and verify that the http port is not already in use
* Winstone server does not exit with error, even if the port is already reserved, at least when in daemon mode. Do this check beforehand and exit if port is in use
2010-05-05 15:13:48 +03:00
kohsuke b31b67cc5d also do chmod(2) in an attempt to make a file writable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30734 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-05 04:15:53 +00:00
ashlux 9e6c227ea7 [FIXED HUDSON-3273] Increase timeout to 30 seconds since 10 seconds isn't enough for machines with poor resources.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30733 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-05 04:03:53 +00:00
mindless d3ce6eadc4 abort form submission if there's an exception in buildFormTree.
submit will just result in 500 error since json data is missing, and
people report issues about that, sometimes missing the javascript error causing it.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30720 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-04 20:37:00 +00:00
mindless 7f5b9ab24c [FIXED HUDSON-6424] Add workaround for Opera 10.52/53 bug causing
error in saving job configuration.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30716 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-04 20:22:05 +00:00
kohsuke 617af7ded3 merged back the RC branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30703 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-04 17:14:24 +00:00
jglick 57a59c535e [FIXED HUDSON-5884] Making compilable with JDK 7 javac.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30701 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-04 15:40:41 +00:00
mindless 0dfdc1b2ea make shading a little bit darker for .loading
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30700 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-04 15:29:04 +00:00
mindless a84d7dcfca provide visual indication on job configure page of when behavior rules
have been applied and the form is ready to be used..


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30681 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-03 22:47:01 +00:00
mindless dc4fb1386a [FIXED HUDSON-4255] hide exception traces on Update Center page by default
(with "Details" link to see them), to keep this page shorter and make it easier
to find the latest update jobs when retrying after failure.  Also scroll to
bottom of page when it first loads, for the same reason.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30680 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-03 21:08:19 +00:00
mindless 6fecc37fde change java.net to hudson-ci.org in msg for connectivity check
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30667 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-03 18:51:00 +00:00
mindless fcba85af53 Bump versions for bundled plugins to their latest releases; remove scis-ad.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30663 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-03 17:39:43 +00:00
mindless 0e37effa72 [HUDSON-6252] add test for UrlAnnotator
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30612 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-02 17:38:39 +00:00
mindless 4d61a06045 As instructed by injected test, use <label class="attach-previous">
instead of <label for=...>
Also added null check in javascript for attach-previous,
and fixed typo in error message from injected test.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30582 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 22:45:15 +00:00
mindless b0c90d7c18 fix test.. since r30276 a null secret results in empty string for auth password.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30580 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 22:12:14 +00:00
mindless f855c5ee22 [HUDSON-5951] yay for tests, fix error in new normalize() before it went in any release
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30579 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 21:57:24 +00:00
mindless a6e6c7946a add SubText.groupCount()
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30578 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 21:09:41 +00:00
mindless cd8376e9b4 In editableDescription for test results, invalid variable reference for
permission attribute made the add/edit description link show up for all
users, even if they don't have permission to submit the description.
Fixed this so link is omitted when appropriate.
Also changed permission required to add/edit a description from "Build"
to "Update Run".


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30575 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 20:16:54 +00:00
mindless 5974981064 [FIXED HUDSON-6351] update DirectoryBrowserSupport to use long for contentLength,
and update stapler to 1.141 which supports long for contentLength.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30571 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 18:50:16 +00:00
mindless 90e91d7957 bump up to latest maven-hpi-plugin for good measure
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30569 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 18:28:49 +00:00
mindless b9c74c6c7e core uses maven-stapler-plugin 1.15.. bump these to match.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30564 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 18:09:50 +00:00
kohsuke 0a62096a6d added a new attribute to avoid nesting in the resulting JSON object.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30530 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 00:53:31 +00:00
kohsuke ae21605389 Handling of the -abc token was broken.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30529 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 00:52:29 +00:00
kohsuke 23aba80f89 added more databinding controls.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30528 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 23:17:55 +00:00
kohsuke 5030b6f89a A hack to make some of the unit tests happy. I can see why the console check is wrong, but YUI should be always loaded.
When I get a chance, I'll come back to this later.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30527 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 22:51:44 +00:00
kohsuke 85d1e6927f typo.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30526 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 22:50:46 +00:00
kohsuke bd62d913b9 added more convenience methods.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30525 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 22:49:36 +00:00
kohsuke 7d515a7852 take the list of dependency plugins generaetd by the maven-hpi-plugin and make them available as plugins.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30524 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 22:03:06 +00:00
kohsuke dadecc8180 Added a hidden system property to let people change the 'workspace' directory name, for those who are desparate to make the path fit to 256 chars (this is important for old ASCII-based Win32 apps, such as Cygwin 1.5 --- Unicode based later ones aren't affected.)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30523 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 22:00:36 +00:00
kohsuke 00e75f1e41 console is undefined in HtmlUnit, so we need a guard.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30490 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 18:55:55 +00:00
abayer 2eedba8679 [FIXED HUDSON-6394] Email recipient lists now support build parameters
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30485 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 18:38:39 +00:00
kohsuke 3987a82ce2 I haven't verified this, but to handle nested repeatables properly, we need these.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30471 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 17:11:08 +00:00
mindless ae837cecf4 [FIXED HUDSON-5951] improve normalization of ".." in FilePath
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30462 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 07:35:22 +00:00
sogabe 51773e58ec i18n & l10n(ja) of buildTimeTrend
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30458 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 00:22:52 +00:00
kohsuke e0eaac21d8 snapshot dependency crept in
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30457 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 21:18:57 +00:00
mindless 0a016f30fb [FIXED HUDSON-5927] apply patch from fcamblor to allow forms with an existing
onsubmit handler; Hudson will now extend that rather than replace it.
Patch also fixes handling of "no-json" class on a form.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30456 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 19:12:51 +00:00
mindless c0db657f22 [HUDSON-5844] set build duration to zero if it comes out negative
(clock was set during a short build?).
Also added i18n for getDurationString() result when build is in progress.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30455 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 18:58:12 +00:00
mindless 55aef4bb5c [FIXED HUDSON-5617] catch and report missing/invalid proxy port value
when submitting proxy settings.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30454 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 18:35:42 +00:00
mindless 95c1ba927a [FIXED HUDSON-5180] remove url binding for this property.. it just shows parameters
form and a Build button that results in error.  index.jelly should only be accessed
via /build (shows index.jelly via _doBuild in this class) where the Build button works.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30453 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 17:07:52 +00:00
mindless 4da5f9486c just say "upstream files" instead of "upstream jar files"
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30452 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 16:45:43 +00:00
mindless 71854d1b69 [FIXED HUDSON-6371] Fix getArtifactsUpTo so it doesn't count collapsed-directories
as artifacts, resulting in too few artifacts returned (since 1.348).
Also fix limit check so it returns "n" items, not n+1.  Added test.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30451 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 16:13:37 +00:00
mindless 5ad11a0dbc [FIXED HUDSON-6332] for 1.357
Add setOverwrite(true) for local->local copy in FilePath.copyRecursiveTo().
This makes it consistent with master/slave copy (either direction),
and also avoids returning 0 if all files already have current/newer timestamp
which some code (javadoc publishing, copyartifact plugin) would interpret as
copy failure or no matching files found.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30450 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 23:53:41 +00:00
kohsuke 5c339d5040 @nameRef is a mechanism to designate a different parent, so it needs to be in the different branch of if/then/else from e=e.parentNode.
I realize that this is a risky change, so I need to pay attention to the regerssions caused by this.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30449 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 23:43:23 +00:00
kohsuke b988eb8b83 @fillUrl should take the public static fromStapler method into account.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30448 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 21:33:23 +00:00
kohsuke b0f664dfcf improved construction of query string.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30447 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 21:09:40 +00:00
kohsuke b03e53a1d9 formatting changes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30445 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 19:59:54 +00:00
kohsuke 715829adaa Use the version of the each that doesn't have the catch block, which makes the debugging harder.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30444 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 19:59:31 +00:00
kohsuke 5963112082 f:combobox is preferred now.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30442 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 18:33:49 +00:00