Commit Graph
17505 Commits
Author SHA1 Message Date
kohsuke 1c78940275 solicit initial contributions, especially from TransientProjectActionFactory
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33991 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-20 00:43:54 +00:00
kohsuke bf9356f079 this doesn't takes 'instances' but 'instance'.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33989 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-19 23:47:23 +00:00
mindless 8614d5e954 [HUDSON-7204] fix for defining empty properties for ant build on windows.
also added info about parameter references and double quotes in help file.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33988 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-19 23:32:20 +00:00
kutzi f63c8801e2 not build modules in incremental Maven builds are now recognized early
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33985 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-19 20:38:05 +00:00
kohsuke a044698cc7 Initialized merge tracking via "svnmerge" with revisions "1-33981" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33983 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-19 19:02:43 +00:00
mindless cdc981e9af fix LabelAtomPropertyTest .. its pkg was renamed, but its resource dir was not yet renamed
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33952 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-18 20:49:01 +00:00
mindless 5e836515da add resource for page title (its title was "title")
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33951 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-18 20:40:17 +00:00
sogabe cae02742e6 Added Japanese localization for Matrix project.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33942 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-18 12:02:49 +00:00
abayer a47846cf5d Fixing a few more unit tests with easy solutions for Windows or when Ant is not already installed and in PATH
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33934 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-18 01:13:19 +00:00
abayer 867b63a6ef Another fix attempt for Windows unit test execution
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33932 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-17 23:39:56 +00:00
abayer 650a4272ca Fixing a Windows test failure - since sh doesn't exist by default on Windows, the test fails
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33921 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-17 20:40:47 +00:00
abayer 6903607ac0 Fixing unit test - needed MavenInstallation configured if mvn wasn't already on PATH
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33919 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-17 20:17:31 +00:00
kohsuke b17951d4cf [FIXED HUDSON-7026] applied the patch to fix the regular expression.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33897 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-17 01:48:43 +00:00
kohsuke 1d49f9a447 [FIXED HUDSON-7213] not sure how the release process had completed if the unit test was failing...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33896 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-17 01:39:25 +00:00
sogabe 6e83aaf704 Fixed compilation fauilure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33876 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-16 11:18:51 +00:00
mindless 189a1f31f1 [FIXED HUDSON-7211] fix Hudson build on case-insensitive filesystems.
hudson/model/label/*.class conflicted with hudson/model/Label/*.jelly,
so renamed new package to hudson.model.labels


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33875 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-16 04:35:30 +00:00
olamy 7929b85ef5 be more friendly regarding case for windauze users
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33872 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-15 21:11:32 +00:00
olamy 79b2e6d55a be more friendly regarding case for windauze users
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33871 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-15 21:05:04 +00:00
kohsuke e1cf51440e Merged revisions 33821,33823,33825,33829 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r33821 | kohsuke | 2010-08-13 20:05:10 -0700 (Fri, 13 Aug 2010) | 1 line
  
  label serialization should include all the subtypes.
........
  r33823 | kohsuke | 2010-08-13 21:03:34 -0700 (Fri, 13 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_372
........
  r33825 | kohsuke | 2010-08-13 21:03:45 -0700 (Fri, 13 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r33829 | kohsuke | 2010-08-13 22:04:49 -0700 (Fri, 13 Aug 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33863 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-15 16:30:18 +00:00
kohsuke 64db15c45c [FIXED HUDSON-4158]
JUnit report archiving now captures stdout of tests run in Surefire.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33862 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-15 16:28:53 +00:00
kohsuke 45d413c412 better signature
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33861 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-15 15:43:11 +00:00
kohsuke dc0ceb5cb4 documenting how to migrate.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33859 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 22:32:18 +00:00
kohsuke 6dbef5cbb4 handle AbortException gracefully without spewing a stack trace.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33855 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:54:38 +00:00
kohsuke 804e200fc3 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33854 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:54:25 +00:00
kohsuke bcf3a538b6 CommandInterpreter is made more reusable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33853 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:54:17 +00:00
kohsuke 0704329d44 one property type, one instance, just like node properties and job properties.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33852 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:54:08 +00:00
kohsuke 46e185d3fb bug fix in the UI hookup
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33851 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:53:55 +00:00
kohsuke e7a2a53afe allowed LabelAtomProperty to contribute actions to LabelAtom, and added a config link.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33850 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:53:40 +00:00
kohsuke b59ac4698b added a new extension point LabelAtomProperty to allow plugins to add semantics to labels
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33849 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 17:53:24 +00:00
kohsuke 831a6e8b11 allow all Descriptors with global.jelly to participate in the global configuration UI.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33837 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 07:58:33 +00:00
kohsuke 1cc19f0e0d add NODE_LABELS environment variables
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33836 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 07:57:09 +00:00
kohsuke 18ed966772 Merged revisions 33770,33808,33830 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/extensible-axis

........
  r33770 | kohsuke | 2010-08-12 17:48:02 -0700 (Thu, 12 Aug 2010) | 1 line
  
  the work in progress thus far. still has some test failures.
........
  r33808 | kohsuke | 2010-08-13 17:17:44 -0700 (Fri, 13 Aug 2010) | 1 line
  
  JDKAxis always normalize its values in the order JDKs are defined.
........
  r33830 | kohsuke | 2010-08-13 23:52:59 -0700 (Fri, 13 Aug 2010) | 1 line
  
  using the latest
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33834 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 07:23:08 +00:00
kohsuke 79bad4d7e1 Initialized merge tracking via "svnmerge" with revisions "1-33769" from
https://www.dev.java.net/svn/hudson/branches/extensible-axis


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33833 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 07:08:33 +00:00
kohsuke c835552469 wrong merge source
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33832 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 07:04:02 +00:00
kohsuke 8156b774a0 Initialized merge tracking via "svnmerge" with revisions "1-33830" from
https://www.dev.java.net/svn/hudson/branches/extensible-axis/test


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33831 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 07:00:38 +00:00
sogabe 21482fca68 latest ssh slave plagin.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33822 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 03:44:27 +00:00
kohsuke b64ecce94b Merged revisions 33810-33811 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r33810 | kohsuke | 2010-08-13 17:43:28 -0700 (Fri, 13 Aug 2010) | 1 line
  
  bug in the test harness.
........
  r33811 | kohsuke | 2010-08-13 17:44:11 -0700 (Fri, 13 Aug 2010) | 1 line
  
  bug in the test harness.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33812 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 00:47:05 +00:00
kohsuke 3b8eea6ccc Merged revisions 33801,33803,33805 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r33801 | kohsuke | 2010-08-13 15:14:41 -0700 (Fri, 13 Aug 2010) | 3 lines
  
  restrictions on label names should be consistent with other restrictions that we have.
  
  In particular, allow '-'.
........
  r33803 | kohsuke | 2010-08-13 15:24:42 -0700 (Fri, 13 Aug 2010) | 1 line
  
  make sure '-' is allowed as label names
........
  r33805 | kohsuke | 2010-08-13 16:53:49 -0700 (Fri, 13 Aug 2010) | 1 line
  
  fixed a regression in IE6.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33809 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-14 00:35:37 +00:00
kohsuke 37a4ec920d Improved the layout algorithm of the matrix project visualization.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33802 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-13 22:19:51 +00:00
mindless ff47b97fd3 [HUDSON-6628] change LDAPSecurityRealm to extend AbstractPasswordBasedAuthentication
so it gets the createCliAuthenticator stuff, and CLI will accept --username, etc.
In my tests this worked when passing credentials to run a command.
Login seemed to work, but commands after that were still as anonymous,
so something still missing.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33773 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-13 04:14:22 +00:00
kohsuke dc0e278dbf enabled the subtype to customize the name resolution behaviour.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33771 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-13 01:48:38 +00:00
mindless a67ebeebc0 mention safeRestart too on api page, not just restart
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33767 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-12 23:25:37 +00:00
kohsuke 75b2b4d4a8 Initialized merge tracking via "svnmerge" with revisions "1-33730" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33732 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-12 04:51:08 +00:00
kohsuke 0e5b8c706f allow the @value to be used if present. This is useful when creating a list of check boxes and bind it to List<String>
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33719 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-12 04:08:57 +00:00
kohsuke 8568692f34 Merged revisions 33608,33610,33614,33646,33648,33652 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r33608 | kohsuke | 2010-08-07 08:30:19 -0700 (Sat, 07 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_370
........
  r33610 | kohsuke | 2010-08-07 08:30:31 -0700 (Sat, 07 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r33614 | kohsuke | 2010-08-07 09:42:58 -0700 (Sat, 07 Aug 2010) | 1 line
  
  updated changelog as a part of the release
........
  r33646 | kohsuke | 2010-08-09 13:50:36 -0700 (Mon, 09 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_371
........
  r33648 | kohsuke | 2010-08-09 13:51:26 -0700 (Mon, 09 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r33652 | kohsuke | 2010-08-09 15:04:36 -0700 (Mon, 09 Aug 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33709 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-11 22:36:19 +00:00
kohsuke dc175212db changing my mind about the operator syntax. I think || and && are better than | and &.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33708 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-11 22:34:16 +00:00
kohsuke eb51d46d56 ConcurrentHashMap should serialize like a map.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33655 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-09 22:20:11 +00:00
kohsuke 7251863489 fix up the in-memory layout if we are loading SurefireArchiver as MavenProjectActionBuilder.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33654 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-09 22:20:00 +00:00
kohsuke 23e794c3de Do not store SurefireArchiver (which brings in its testResult) to MavenBuild. This wastes a lot of disk and memory.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33653 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-09 22:19:47 +00:00
mindless d4c9e40b91 [SECURITY-5] Add several missing permission checks in CLI commands.
Current CLI is always available and most commands can be run by anonymous users.
Now only a short help message and the login command are available for anonymous
in a Hudson without anonymous read permission, and each individual command also
checks the appropriate permission for that command.  Details:
* Vulnerable CLI commands now fixed:
  build, clear-queue, copy-job, create-job, delete-builds, delete-job,
  disable-job, enable-job, install-plugin, install-tool, keep-build,
  mail, restart, safe-restart, set-build-result
* Broken CLI commands now fixed:
  connect-node, delete-node, disconnect-node, offline-node, online-node
* Other vulnerable command (not CLI) now fixed: /gc (JVM garbage collect)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33626 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-08 05:29:34 +00:00