[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-08-05 Thread [email protected] (JIRA)














































Jesse Glick
 updated  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'
















Change By:


Jesse Glick
(05/Aug/13 3:05 PM)




Labels:


lts-candidate



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-08-04 Thread [email protected] (JIRA)














































Daniel Beck
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Why is this labeled LTS? There doesn't seem to be anything to be changed in core.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-07-31 Thread [email protected] (JIRA)














































Thomas Fürer
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















just released 1.7.3, which ignores the symlinks for now; this will result in some unnormal situations for the job history aslong no new build is done. I will try to fix this as soon I have a solution for all the symlink problems with java 1.6 and the different operating systems. I found a lot of different behaivors by changing the jenkins version, the JRE jenkins runs with, and of course the operating system.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-07-31 Thread [email protected] (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Code changed in jenkins
User: tofuatjava
Path:
 src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java
http://jenkins-ci.org/commit/thin-backup-plugin/c49ec558b504f996c400d68e419250fcc573401f
Log:
  JENKINS-17475: ignore symlinks for backup, as a quickfix; symlinks need
to be in backup, otherwise jenkins creates dead links for last*build and
this causes duplications in the build history for jobs






























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-07-17 Thread [email protected] (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Code changed in jenkins
User: tofuatjava
Path:
 src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java
http://jenkins-ci.org/commit/thin-backup-plugin/01ccb80bd3dc52b771d36d09a2374e3469b7c93c
Log:
  JENKINS-17475: implement backup for last*build





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-07-09 Thread [email protected] (JIRA)














































mark 3000
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Confirmed on Windows machine with Jenkins 1.518 and ThinBackup 1.7.2: 
"builds\lastFailedBuild' exists but is not a directory"



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-07-04 Thread [email protected] (JIRA)














































torbent
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Bug confirmed today on Jenkins LTS 1.509.2 with ThinBackup 1.7.2.
Master runs Linux.
I get a java.io.FileNotFoundException: Source '/data/jobs/job/builds/lastUnstableBuild' does not exist

It's a symlink to -1



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-05-26 Thread [email protected] (JIRA)














































Vladimir Zak
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Windows system - when the builds folder for the job is not there

the problem is that when I press the backup there is no verbose page to see what is done and where the procedure is.


May 26, 2013 8:18:45 PM org.jvnet.hudson.plugins.thinbackup.ThinBackupMgmtLink doBackupManual
INFO: Starting manual backup.
May 26, 2013 8:18:45 PM org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup 
INFO: No previous full backup found, thus creating one.
May 26, 2013 8:18:45 PM org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup backupJobsDirectory
INFO: Found 38 jobs to back up.
May 26, 2013 8:18:45 PM org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork backupNow
SEVERE: Cannot perform a backup. Please be sure jenkins/hudson has write privileges in the configured backup path 'c:_jenkins\backup'.
java.io.FileNotFoundException: Source 'd:_jenkins_jenkins\jobs\AmbergTunnel2_branch\builds\lastSuccessfulBuild' does not exist
	at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:866)
	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)




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-05-26 Thread [email protected] (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Code changed in jenkins
User: tofuatjava
Path:
 pom.xml
 src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java
 src/test/java/org/jvnet/hudson/plugins/thinbackup/TestHelper.java
 src/test/java/org/jvnet/hudson/plugins/thinbackup/TestThinBackupPeriodicWork.java
 src/test/java/org/jvnet/hudson/plugins/thinbackup/backup/TestBackupMatrixJob.java
 src/test/java/org/jvnet/hudson/plugins/thinbackup/backup/TestBackupSet.java
 src/test/java/org/jvnet/hudson/plugins/thinbackup/backup/TestBackupWithCloudBeesFolder.java
 src/test/java/org/jvnet/hudson/plugins/thinbackup/backup/TestBackupZipping.java
 src/test/java/org/jvnet/hudson/plugins/thinbackup/backup/TestHudsonBackup.java
 src/test/java/org/jvnet/hudson/plugins/thinbackup/backup/TestPluginList.java
 src/test/java/org/jvnet/hudson/plugins/thinbackup/restore/TestHudsonRestore.java
 src/test/java/org/jvnet/hudson/plugins/thinbackup/utils/TestUtils.java
http://jenkins-ci.org/commit/thin-backup-plugin/e1497043218f8f2a9b16061b3a1e187b52426b12
Log:
  JENKINS-17475: try to backup links introduced with 1.507 also on non
linux systems






























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-05-17 Thread [email protected] (JIRA)














































Spencer Oliver
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















The above patch fixes the issue for me on linux64, however i have noticed that it seems to break backing up the users folder.
Traced the issue down to the filter being passed to FileUtils.copyDirectory in backupRootFolder.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-04-29 Thread [email protected] (JIRA)














































Thomas Fürer
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















@matt - yes, of course there is progress, but I need to test it on different OS and hold it compatible. sorry for the inconvinience.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-04-29 Thread [email protected] (JIRA)














































Matt Riedemann
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Hi, is there any progress on this issue?  I think I've determined that this is actually corrupting/wiping out the history of our jobs when it encounters failed builds for jobs, so essentially our backup is wiping out our history - which is what we are trying to backup.  This is really nasty and I've had to disable the thinBackup plugin from our Jenkins.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-04-13 Thread [email protected] (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Code changed in jenkins
User: tofuatjava
Path:
 src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java
http://jenkins-ci.org/commit/thin-backup-plugin/e827e1d5f9139c8d11fc53f6dfae53fbe586de93
Log:
  JENKINS-17475: add check for symlinks (linux)





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-04-08 Thread [email protected] (JIRA)














































Thomas Fürer
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















unfortently the fix I have done is not working on all supported OS and also I have to search for some compatibility mode to older jenkins versions than 1.507. therfore it takes a little bit longer to fix this problem. stay tuned I'm working on it...



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-04-06 Thread [email protected] (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Code changed in jenkins
User: tofuatjava
Path:
 pom.xml
 src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java
 src/main/java/org/jvnet/hudson/plugins/thinbackup/restore/PluginRestoreUpdateCenter.java
http://jenkins-ci.org/commit/thin-backup-plugin/9dd19dfccf35fb323e9dd34eb7d40ff672f47070
Log:
  JENKINS-17475: add new files in the builds folder to the backup archive


Compare: https://github.com/jenkinsci/thin-backup-plugin/compare/2cc48c932411...9dd19dfccf35




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-04-04 Thread [email protected] (JIRA)














































Thomas Fürer
 commented on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Integrated in  thinBackup #80
 JENKINS-17475: add new files in the builds folder to the backup archive (Revision 9dd19dfccf35fb323e9dd34eb7d40ff672f47070)

 Result = SUCCESS
tfuerer.javanet : 9dd19dfccf35fb323e9dd34eb7d40ff672f47070
Files : 

	pom.xml
	src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java
	src/main/java/org/jvnet/hudson/plugins/thinbackup/restore/PluginRestoreUpdateCenter.java





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-04-04 Thread [email protected] (JIRA)














































Thomas Fürer
 started work on  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'
















Change By:


Thomas Fürer
(04/Apr/13 6:26 PM)




Status:


Open
In Progress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [thinBackup] (JENKINS-17475) Backup stops when processing some file like 'latestfailedbuild'

2013-04-04 Thread [email protected] (JIRA)














































Thomas Fürer
 created  JENKINS-17475


Backup stops when processing some file like 'latestfailedbuild'















Issue Type:


Bug



Assignee:


Thomas Fürer



Components:


thinBackup



Created:


04/Apr/13 4:46 PM



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?






Environment:


Jenkins since 1.507 (reproduced on 1.509)

thinBackup 1.7.2




Project:


Jenkins



Priority:


Blocker



Reporter:


Thomas Fürer

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.