I also added subversion.hpi in the dependency of the test-harness so that we can use Subversion check out for tests. I was afraid of a circular dependency problem when building the subversion plugin, but apparently Maven handles it gracefully.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21999 71c3de6d-444a-0410-be80-ed276b4c234a
https://www.dev.java.net/svn/hudson/branches/rc
........
r21880 | kohsuke | 2009-09-18 16:37:04 -0700 (Fri, 18 Sep 2009) | 1 line
need a new version to authenticate with Wiki
........
r21885 | kohsuke | 2009-09-18 18:35:46 -0700 (Fri, 18 Sep 2009) | 1 line
tests are starting to fail with PermGen problem
........
r21887 | kohsuke | 2009-09-18 18:52:20 -0700 (Fri, 18 Sep 2009) | 1 line
[maven-release-plugin] prepare release hudson-1_324
........
r21889 | kohsuke | 2009-09-18 18:52:36 -0700 (Fri, 18 Sep 2009) | 1 line
[maven-release-plugin] prepare for next development iteration
........
r21893 | kohsuke | 2009-09-18 19:26:06 -0700 (Fri, 18 Sep 2009) | 1 line
updated changelog as a part of the release
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21897 71c3de6d-444a-0410-be80-ed276b4c234a
Defined a new permission, ExtendedRead, which can be enabled by specifying true
for the system property hudson.security.ExtendedReadPermission. Granting job
configuration permissions implies this permission.
main/core/src/main/java/model/Item.java
Added plumbing for dynamic enabling and disabling of permissions at runtime.
This will be the basis for future UI based toggling of the availability of a
permission.
main/core/src/main/java/hudson/security/Permission.java
Add the enabled state of a permission to the decision about whether a principal
has it or not. Only show a permission when it's enabled.
main/core/src/main/java/hudson/security/GlobalMatrixAuthorizationStrategy.java
Allow access to config.xml when ExtendedRead is granted.
main/core/src/main/java/hudson/model/Job.java
Don't show the save button if the user only has ExtendedRead.
main/core/src/main/resources/hudson/model/Job/configure.jelly
Change the text of the Configure link in the side panel based on whether a user
has Configure or ExtendedRead permissions.
main/core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21626 71c3de6d-444a-0410-be80-ed276b4c234a
HUDSON_HOME URL, then include Authorization header in Hudson http requests).
Also moved Functions.isUnitTest to Main.isUnitTest, to remove dependency on
winstone.jar for running hudson.Main (Main uses EnvVars which checks isUnitTest
flag.. in Functions which uses servlet classes).
Updated http://wiki.hudson-ci.org/display/HUDSON/Monitoring+external+jobs
with info about required jars and authentication.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21479 71c3de6d-444a-0410-be80-ed276b4c234a
https://svn.dev.java.net/svn/hudson/branches/rc
........
r21391 | kohsuke | 2009-09-02 16:46:59 -0700 (Wed, 02 Sep 2009) | 2 lines
fixed a possible race condition. I noticed that Hudson-on-Hudson was hanging because the main thread was Object.wait-ing forever with no trace of a build.
OneShotEvent avoids this problem.
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21392 71c3de6d-444a-0410-be80-ed276b4c234a
https://svn.dev.java.net/svn/hudson/branches/rc
........
r21385 | kohsuke | 2009-09-02 15:41:39 -0700 (Wed, 02 Sep 2009) | 1 line
Fixed a random test failure, which was caused by PingThread detecting communication problem while it's being orderly shut down.
........
r21386 | kohsuke | 2009-09-02 15:41:57 -0700 (Wed, 02 Sep 2009) | 1 line
indentation fix.
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21387 71c3de6d-444a-0410-be80-ed276b4c234a
testThatUsernameWithDifferentCasingIsNotDisplayedAsOne(hudson.plugins.cigame.ScoreCardActionIntegrationTest) Time elapsed: 0 sec <<< ERROR!
java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1793)
at org.jvnet.hudson.test.TemporaryDirectoryAllocator.allocate(TemporaryDirectoryAllocator.java:63)
at org.jvnet.hudson.test.HudsonHomeLoader$1.allocate(HudsonHomeLoader.java:54)
at org.jvnet.hudson.test.HudsonHomeLoader$CopyExisting.allocate(HudsonHomeLoader.java:83)
at org.jvnet.hudson.test.HudsonHomeLoader$Local.allocate(HudsonHomeLoader.java:123)
at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:296)
at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:223)
at junit.framework.TestCase.runBare(TestCase.java:132)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:91)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21372 71c3de6d-444a-0410-be80-ed276b4c234a
java.lang.NullPointerException
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1732)
at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:153)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:455)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:340)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:390)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:377)
at org.jvnet.hudson.test.HudsonTestCase$WebClient.getPage(HudsonTestCase.java:1002)
at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:257)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21328 71c3de6d-444a-0410-be80-ed276b4c234a
https://www.dev.java.net/svn/hudson/branches/rc
........
r21146 | kohsuke | 2009-08-27 18:35:09 -0700 (Thu, 27 Aug 2009) | 1 line
[FIXED HUDSON-4304] Using su instead of "daemon --user".In 1.322.
........
r21189 | kohsuke | 2009-08-28 16:30:35 -0700 (Fri, 28 Aug 2009) | 1 line
updated to 1.6
........
r21190 | kohsuke | 2009-08-28 16:49:57 -0700 (Fri, 28 Aug 2009) | 1 line
[maven-release-plugin] prepare release hudson-1_322
........
r21192 | kohsuke | 2009-08-28 16:50:09 -0700 (Fri, 28 Aug 2009) | 1 line
[maven-release-plugin] prepare for next development iteration
........
r21201 | kohsuke | 2009-08-28 19:11:44 -0700 (Fri, 28 Aug 2009) | 1 line
updated changelog as a part of the release
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21299 71c3de6d-444a-0410-be80-ed276b4c234a