|
|
|
@ -78,9 +78,9 @@ public class WarSyncScheduler {
|
|
|
|
// todo : 데브환경 분기처리
|
|
|
|
// todo : 데브환경 분기처리
|
|
|
|
SftpATTRS attrs = null;
|
|
|
|
SftpATTRS attrs = null;
|
|
|
|
if(activeProfile.equals("prod")){
|
|
|
|
if(activeProfile.equals("prod")){
|
|
|
|
sftp.lstat(REMOTE_CC_WAR_PATH);
|
|
|
|
attrs = sftp.lstat(REMOTE_CC_WAR_PATH);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
sftp.lstat(REMOTE_CC_WAR_DEV_PATH);
|
|
|
|
attrs = sftp.lstat(REMOTE_CC_WAR_DEV_PATH);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
long remoteSize = attrs.getSize();
|
|
|
|
long remoteSize = attrs.getSize();
|
|
|
|
int remoteMtime = attrs.getMTime();
|
|
|
|
int remoteMtime = attrs.getMTime();
|
|
|
|
|