Im working in openshift. I have a Jenkins and when I execute a restore operation I have this error

This is due to in openshift we have not root permissions in all folders. I think this will be possible
not only in openshift ( folder permissions )
So instead of
task = new RestoreTask(configuration, Hudson.getInstance().getRootDir().getAbsolutePath(), filePath, getRestoreLogFile().getAbsolutePath(), res.getServletContext());
it would be great something like :
task = new RestoreTask(configuration, RESTORE_TEMP_PATH, res.getServletContext());
and add an option in the UI so the user may configure. Or maybe use the BACKUP_PATH.
Java file :
https://github.com/hudson3-plugins/backup-plugin/blob/master/src/main/java/org/jvnet/hudson/plugins/backup/BackupLink.java
doRestoreFile method
Thanks for this plugin!!
Im working in openshift. I have a Jenkins and when I execute a restore operation I have this error
This is due to in openshift we have not root permissions in all folders. I think this will be possible
not only in openshift ( folder permissions )
So instead of
task = new RestoreTask(configuration, Hudson.getInstance().getRootDir().getAbsolutePath(), filePath, getRestoreLogFile().getAbsolutePath(), res.getServletContext());it would be great something like :
task = new RestoreTask(configuration, RESTORE_TEMP_PATH, res.getServletContext());and add an option in the UI so the user may configure. Or maybe use the BACKUP_PATH.
Java file :
https://github.com/hudson3-plugins/backup-plugin/blob/master/src/main/java/org/jvnet/hudson/plugins/backup/BackupLink.java
doRestoreFile method
Thanks for this plugin!!