Commit Graph
9052 Commits
Author SHA1 Message Date
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
olamy fded8ce6d0 [HUDSON-5360] add a new classloader ("a la" child first for plugin)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35076 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-21 21:33:24 +00:00
dty 21d7e2615f Add more ways to supply arguments that need to be masked. This is foundational
work to a mechanism to do a better job of making sure that sensitive build
variables are not exposed in the build console.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35050 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-20 23:59:51 +00:00
bagrehc 36a558456f Translated to brazilian portuguese
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35049 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-20 18:41:08 +00:00
bagrehc 1b9e67f76c Translated to brazilian portuguese
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35048 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-20 18:26:31 +00:00
bagrehc 3c609f063d Translated to brazilian portuguese
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35047 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-20 17:42:50 +00:00
kohsuke bb8bf3c498 [FIXED HUDSON-5249] Made the ping behaviour customizable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35023 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-20 01:12:44 +00:00
kohsuke 3f7e205734 [FIXED HUDSON-5721] Fix setting MAXOPENFILES and start/stop logging (debian/ubuntu).
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35018 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-20 00:33:50 +00:00
kohsuke 353c6237e7 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35017 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-19 21:41:56 +00:00
kohsuke c99d41c767 Merged revisions 34987,34989,34993 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r34987 | kohsuke | 2010-09-19 00:09:34 -0700 (Sun, 19 Sep 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_377
........
  r34989 | kohsuke | 2010-09-19 00:24:38 -0700 (Sun, 19 Sep 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r34993 | kohsuke | 2010-09-19 01:41:57 -0700 (Sun, 19 Sep 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35014 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-19 21:26:44 +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 b75a802190 Be more defensive in case a task has no subtasks.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34982 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-18 21:43:10 +00:00
abayer 9f53cf3dbe [FIXED HUDSON-6033] BuildWrapper teardowns couldn't get result of Maven2 project builds
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34980 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-18 20:47:20 +00:00
sogabe 8d9b9ccad5 [FIXED HUDSON-7502] Fixed typo.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34975 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-18 02:28:14 +00:00
abayer eea5c1992a [FIXED HUDSON-7300] Got rid of absolute paths to *checkout* paths at hudson.dev.java.net of env_vars.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34963 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-17 20:11:37 +00:00
abayer 15f6a6f901 [HUDSON-4693] Systematized Maven alternate settings logic - consistent in both POM parsing and actual Maven command line.
Current behavior as of this change:
- If project.getAlternateSettings() is absolute, just use the absolute path - this may not actually work through the configuration UI, but I put it in to be safe.
- else, if project.getAlternateSettings() exists in getWorkspace(), use that
- else, if project.getAlternateSettings() exists in getModuleRoot(), use that
- else null - don't use an alternate settings location



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34950 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-17 15:37:07 +00:00
abayer ba9fa3e095 [FIXED HUDSON-7013][FIXED HUDSON-6562] Rolling back to Ant 1.8.0 due to bug in copying large files
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34931 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-16 17:50:47 +00:00
kohsuke 07e4f09670 Merged revisions 34887 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r34887 | kohsuke | 2010-09-15 19:43:02 -0700 (Wed, 15 Sep 2010) | 1 line
  
  more broken links
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34888 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-16 02:43:45 +00:00
kohsuke 2f3046a6fb Merged revisions 34879 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r34879 | kohsuke | 2010-09-15 19:23:43 -0700 (Wed, 15 Sep 2010) | 1 line
  
  turns out other guys rely on the old name.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34880 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-16 02:25:21 +00:00
kohsuke 2a60a9d5dd wrong copyright header. prototype.js isn't written by us.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34873 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-16 01:30:56 +00:00
kohsuke defe95c964 Maybe prototype.js guys have something very profound in their mind, but I don't see it.
This error is hidden during normal execution, but in the unit test where we report caught exceptions, this breaks some tests.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34872 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-16 01:28:41 +00:00
kohsuke d035b47029 fixed a compilation failure
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34862 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 20:20:53 +00:00
abayer c7e0b7fd49 [FIXED HUDSON-6861] Added dependency on psmisc, so killall can actually work
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34850 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 19:00:09 +00:00
kohsuke 3c5ea71bd2 this callback does happen when the project is deleted.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34847 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 18:24:59 +00:00
kohsuke bade766022 Added a new extension point that allows plugins to postpone the restart.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34846 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 18:24:48 +00:00
kohsuke 1255b8f674 [FIXED HUDSON-5077] Custom workspace can not be defined for Matrix
projects

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34845 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 18:24:40 +00:00
kohsuke 295689128c Capture polling log that triggered a build.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34844 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 18:24:15 +00:00
kohsuke 594c5ef124 improving the diagnosability by setting the thread name.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34839 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:57:39 +00:00
kohsuke 5f51597ad4 [FIXED HUDSON-5977] implemented a windowing mechanism to throttle the pipe usage, and the pipe operation no longer interferes with the main channel reader thread.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34838 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:57:31 +00:00
kohsuke 16ff34920c Working on a fix for pipe clogging problem.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34837 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:57:24 +00:00
kohsuke bfd3c0e13f display the build time per module.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34836 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:57:16 +00:00
kohsuke 05dd7f8d4f integrated Maven console annotation to the native m2 project
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34835 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:57:09 +00:00
kohsuke b560509f70 added a few basic set of Maven console annotations.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34834 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:57:00 +00:00
kohsuke 20e4d0bd98 when a lifecycle is forked, we end up getting multiple "redeploy artifacts" actions
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34833 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:56:50 +00:00
kohsuke f7c1bbfdf2 when a lifecycle is forked, we end up getting multiple finerprint actions
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34832 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:56:42 +00:00
kohsuke 92025ad40b Not sure exactly when it happens, but multiple forked lifecycles (?) can result in calling this method multiple times.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34831 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:56:36 +00:00
kohsuke 97c716791c take the master/slave clock difference into account when parsing additional test reports.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34830 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:56:29 +00:00
kohsuke 570e27196b to assist further trouble-shooting, have the thread name refer to bits that it's trying to write while blocking.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34829 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:56:22 +00:00
kohsuke 264666fc72 added hex dump support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34828 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:56:14 +00:00
kohsuke 8599b90a21 typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34827 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:56:05 +00:00
kohsuke 7c2e049aeb use a better type
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34826 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:55:49 +00:00
kohsuke 2074646b8e I encountered a situation where the channel reader appears to be stuck trying to write to output stream:
at java.lang.Object.wait(Native Method)
	-  waiting on [B@102f72d
	at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:147)
	at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:122)
	at hudson.remoting.ProxyOutputStream$Chunk.execute(ProxyOutputStream.java:164)
	at hudson.remoting.Channel$ReaderThread.run(Channel.java:877)

Looking at the code, I see that the current write method keeps a strong reference to the sink, effectively nullifying the weak reference check. So fixing that bug.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34825 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:55:42 +00:00
kohsuke e019884f45 this handling adds no value compared to Run.run(Runner)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34824 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:55:35 +00:00
kohsuke cc2592e58f Initialized merge tracking via "svnmerge" with revisions "1-34821" from
https://www.dev.java.net/svn/hudson/branches/rc


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34823 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:25:49 +00:00
kohsuke a6f62ae0cf modernized the configuration layout
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34818 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:20:36 +00:00
kohsuke 2971427b5c added a callback for configuration changes in Nodes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34817 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:07:55 +00:00