mirror of https://github.com/apache/maven.git
PR: MNG-479
workaround for failed unzipping of site. proper fix will require WAGONSSH-5 to be fixed. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233435 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1afa38d91e
commit
28813de005
|
@ -139,7 +139,8 @@ public class ScpSiteDeployMojo
|
|||
|
||||
commandExecutor.put( zipFile, zipFile.getName() );
|
||||
|
||||
cmd = " cd " + basedir + ";" + unzipCommand + " " + zipFile.getName();
|
||||
// TODO: cat to file is temporary until the ssh executor is fixed to deal with output
|
||||
cmd = " cd " + basedir + ";" + unzipCommand + " " + zipFile.getName() + " >scpdeploymojo.log";
|
||||
|
||||
commandExecutor.executeCommand( cmd );
|
||||
|
||||
|
@ -148,7 +149,7 @@ public class ScpSiteDeployMojo
|
|||
basedir = basedir + "/";
|
||||
}
|
||||
|
||||
commandExecutor.executeCommand( "rm -f " + basedir + zipFile.getName() );
|
||||
commandExecutor.executeCommand( "rm -f " + basedir + zipFile.getName() + " scpdeploymojo.log" );
|
||||
}
|
||||
catch ( Exception e )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue