Details
-
Bug
-
Status: Resolved (View Workflow)
-
Blocker
-
Resolution: Won't Fix
-
None
-
Jenkins since 1.507 (reproduced on 1.509)
thinBackup 1.7.2
Description
03.04.2013 09:13:04 org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork backupNow
SCHWERWIEGEND: Cannot perform a backup. Please be sure jenkins/hudson has write privileges in the configured backup path 'C:\CIServer\Backup\'.
java.io.IOException: Source 'C:\Program Files (x86)\Jenkins\jobs\Bank Trunk\builds\lastFailedBuild' exists but is not a directory
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:869)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:814)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backupBuildFiles(HudsonBackup.java:302)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backupBuildsFor(HudsonBackup.java:270)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backupJob(HudsonBackup.java:208)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backupJobsDirectory(HudsonBackup.java:196)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backupJobs(HudsonBackup.java:175)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backup(HudsonBackup.java:142)
at org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork.backupNow(ThinBackupPeriodicWork.java:87)
at org.jvnet.hudson.plugins.thinbackup.ThinBackupMgmtLink$1.execute(ThinBackupMgmtLink.java:76)
at org.jvnet.hudson.plugins.thinbackup.hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:54)
at java.lang.Thread.run(Unknown Source)
03.04.2013 09:12:40 org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup backupJobsDirectory
INFO: Found 63 jobs to back up.
03.04.2013 09:12:40 org.jvnet.hudson.plugins.thinbackup.ThinBackupMgmtLink doBackupManual
INFO: Starting manual backup.
Indeed, lastFailedBuild is a normal file and not a directory. Since Jenkins 1.507 there are these special files (see http://jenkins-ci.org/changelog). Do you think you can address this issue quickly?
Attachments
Issue Links
- is duplicated by
-
JENKINS-18093 thinBackup stops if there's no unstable build
-
- Resolved
-
-
JENKINS-19030 Unable to run a full backup
-
- Resolved
-
FAILURE: Integrated in
thinBackup #84
JENKINS-17475: add check for symlinks (linux) (tfuerer.javanet: e827e1d5f9139c8d11fc53f6dfae53fbe586de93)JENKINS-17475: try to backup links introduced with 1.507 also on non (tfuerer.javanet: e1497043218f8f2a9b16061b3a1e187b52426b12)JENKINS-17475: implement backup for last*build (tfuerer.javanet: 01ccb80bd3dc52b771d36d09a2374e3469b7c93c)JENKINS-17475: ignore symlinks for backup, as a quickfix; symlinks need (tfuerer.javanet: c49ec558b504f996c400d68e419250fcc573401f)