Commit Graph
594 Commits
Author SHA1 Message Date
Olivier Lamy 30e37c2e24 code formatting 2010-12-20 00:12:28 +01:00
Olivier Lamy 2859429809 fix junit failures regarding incremental builds 2010-12-19 23:34:40 +01:00
Olivier Lamy c8fbc67672 add a simple test case with a maven 3 build 2010-12-19 15:04:54 +01:00
Olivier Lamy 53b991a46e add apache maven 3.0.1 distrib for having tests with it 2010-12-19 14:34:39 +01:00
Olivier Lamy 3fb1517e13 fix one junit 2010-12-18 22:40:57 +01:00
Olivier Lamy 90eae9b4a4 merge master branch 2010-12-06 21:42:03 +01:00
olamy dceafbbf7b [HUDSON-4988] push some stuff
to be able to get in an other place (sure git could be better :-) )
some issue when using maven 2
some stuff to do more in maven 3 build (recording mojo execution etc...)



git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/main-maven3-support@36643 71c3de6d-444a-0410-be80-ed276b4c234a
2010-12-05 10:36:02 -08:00
mindless dd833177b5 [HUDSON-8130] add test for encoding of spaces in URLs
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@37109 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-21 16:52:09 +00:00
abayer 87741425bc [HUDSON-7684] Attempting to fix - I think this works, but it needs more testing in other environments
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36799 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-09 20:37:57 +00:00
wolfs c1a95b8e7e HUDSON-6274: Added Author to test
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36670 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-05 09:32:58 +00:00
wolfs 1d6ef2063e HUDSON-6274: Maven build and Matrix build should trigger dependencies via DependencyGraph
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36669 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-05 09:22:23 +00:00
kohsuke 5e3c73fc74 added a test mechanism for ComputerConnector.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36636 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-04 17:03:57 +00:00
kutzi b9b433b1f2 [FIXED HUDSON-6544] calculate estimated remaining time for incremental Maven builds based on the modules which are actually being build
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36164 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-23 14:47:22 +00:00
kohsuke 87109bd774 property value being null is OK in comparison.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36017 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-17 13:09:06 +00:00
kohsuke 60390d69d4 abstracting away JobOffer.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35605 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 17:59:59 +00:00
dty e62787f750 [HUDSON-7518] Add an option to allow exclusion of HTTP client information from
the crumb calculation. This can be enabled for users who sit behind a proxy
that strips this information off, resulting in crumbs varying across requests.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35570 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-06 17:23:04 +00:00
kohsuke 31d97920c0 exposing more contextual information to MappingWorksheet
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35545 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-06 00:35:43 +00:00
dty 12eeca502f Ant and Maven build steps now mask sensitive build variables.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35224 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-23 22:55:57 +00:00
dty 1fa3bc7600 Added ability to construct a set of sensitive build variables.
Added AbstractBuild.getSensitiveBuildVariables which returns a set of variable
names which contain sensitive information that should not be exposed in
display output. This set is expected to consist of a subset of the keys in the
map returned by getBuildVariables.

Added method to allow ParamaterValues to indicate whether or not they have
sensitive information. Make PasswordParameterValue use this to indicate that
it does.

Give BuildWrappers a way to indicate what variables they contributed to a build
should be considered sensitive.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35079 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-21 22:26:16 +00:00
kohsuke 0ff811ff02 added a mechanism to take future load of the system into account.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35013 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-19 21:04:44 +00:00
abayer 04217496ab Moving default Maven for tests to 2.2.1
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35011 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-19 21:00:36 +00:00
sogabe db02d061a3 Removed unused import.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34986 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-19 00:47:24 +00:00
sogabe afe500f99f Fixed compile error.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34985 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-19 00:38:26 +00:00
abayer 119d8aa286 [FIXED HUDSON-5357] Properly handle relative paths in modules when determining changesets in Maven projects
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34983 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-18 22:10:36 +00:00
kohsuke 3d7985b51d added more convenience methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34617 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:28:51 +00:00
kohsuke 40d4c2d76a improving cross-linking between WorkUnit and Executor
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34614 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:27:26 +00:00
kohsuke eedac7b0fc added a mechanism to contribute SubTasks to AbstractProject.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34612 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-09 22:26:11 +00:00
kohsuke 6d492940d9 Cache LDAP attributes to go easy on memory footprint. Where I saw this problem, each LDAP BasicAttributes is about 30K big, and a programmatic client logged in 7000 times, resulting in 140MB of memory consumption just by LDAP attributes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34211 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-30 18:34:28 +00:00
kohsuke 7320ce252f Merged revisions 34000-34001,34005,34007,34038 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r34000 | kohsuke | 2010-08-20 14:16:13 -0700 (Fri, 20 Aug 2010) | 2 lines
  
  [FIXED HUDSON-7216]
  Fixed a 1.372 regression in handling whitespace and other characters in label names.
........
  r34001 | kohsuke | 2010-08-20 14:26:55 -0700 (Fri, 20 Aug 2010) | 1 line
  
  foo*bar parses just like foo-bar parses OK.
........
  r34005 | kohsuke | 2010-08-20 20:08:26 -0700 (Fri, 20 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_373
........
  r34007 | kohsuke | 2010-08-20 20:08:40 -0700 (Fri, 20 Aug 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r34038 | kohsuke | 2010-08-23 11:02:55 -0700 (Mon, 23 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@34118 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-26 01:50:31 +00:00
kutzi be4be6b3ca added test that duration of the module builds is not longer than the duration of the moduleset build
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34058 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 21:32:32 +00:00
km b228c24db5 [FIXED-HUDSON-7162]
Hudson ignores Maven pom.xml path when it is specified as absolute path.
Provided utility methods for checking whether a path is absolute and
absolutizing a given path (w.r.t. a base).
Provided a unit test case for this scenario (@Bug 7261).



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34004 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-21 02:13:15 +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
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
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
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 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 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 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
kohsuke ff672d9c29 added another test.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33621 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-07 23:03:49 +00:00
kohsuke 5c73b4eb08 Seemingly stable label boolean expression support.
Driven by a test case.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33620 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-07 23:03:42 +00:00
kohsuke 12fae21cb5 started writing a grammar for the label expression
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33619 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-07 23:03:26 +00:00
kohsuke dd0b35e992 added a test case for a boolean expression over queue.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33618 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-07 23:03:14 +00:00
kohsuke 004c75c381 First stab at boolean expression over labels.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33617 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-07 23:03:06 +00:00