Skip to content

Commit

Permalink
* JENKINS-13980: fix missing archive folder
Browse files Browse the repository at this point in the history
* but the archive gets backuped also for each DIFF regardless if the archive was changed

git-svn-id: https://svn.jenkins-ci.org/trunk/hudson/plugins/thinBackup@40623 71c3de6d-444a-0410-be80-ed276b4c234a
  • Loading branch information
msteinkogler committed Jun 1, 2012
1 parent 8b67e79 commit 399b030
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -240,7 +240,7 @@ private void backupBuildArchive(final File buildSrcDir, final File buildDestDir)
if (plugin.isBackupBuildArchive()) {
final File archiveSrcDir = new File(buildSrcDir, ARCHIVE_DIR_NAME);
if (archiveSrcDir.exists() && archiveSrcDir.isDirectory()) {
FileUtils.copyDirectory(archiveSrcDir, buildDestDir);
FileUtils.copyDirectory(archiveSrcDir, new File(buildDestDir, "archive"));
}
}
}
Expand Down

0 comments on commit 399b030

Please sign in to comment.