mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
WebDAV deployment from Maven was failing with VerifyError.
A test case requires a webdav server, I tried Milton but couldn't make it work without the source code. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19187 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
27d0fed834
commit
7dad16bbf4
2 files changed
+19
-1
No files matched your search
@@ -100,6 +100,11 @@ THE SOFTWARE.
|
||||
<groupId>xml-apis</groupId>
|
||||
<artifactId>xml-apis</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<!-- we bundle our own version below -->
|
||||
<groupId>org.apache.maven.wagon</groupId>
|
||||
<artifactId>wagon-webdav</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
|
||||
@@ -54,5 +54,18 @@ public class RedeployPublisherTest extends HudsonTestCase {
|
||||
System.out.println(repo);
|
||||
}
|
||||
|
||||
|
||||
// /**
|
||||
// * Makes sure that the webdav wagon component we bundle is compatible.
|
||||
// */
|
||||
// public void testWebDavDeployment() throws Exception {
|
||||
// configureDefaultMaven();
|
||||
// MavenModuleSet m2 = createMavenProject();
|
||||
//
|
||||
// // a fake build
|
||||
// m2.setScm(new SingleFileSCM("pom.xml",getClass().getResource("big-artifact.pom")));
|
||||
// m2.getPublishersList().add(new RedeployPublisher("","dav:http://localhost/dav/",true));
|
||||
//
|
||||
// MavenModuleSetBuild b = m2.scheduleBuild2(0).get();
|
||||
// assertBuildStatus(Result.SUCCESS, b);
|
||||
// }
|
||||
}
|
||||
Reference in new issue
Block a user