-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins version 2.1
Plugin version 0.6
OS: Centos 7
Jenkins Google Cloud Backup Plugin can't see gsutil binary. But I can see and execute it if I'm logged in as user jenkins runs.
Logs are the following:
SEVERE: IOException while creating backup java.io.IOException: Cannot run program "gsutil": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at com.google.jenkins.plugins.persistentmaster.storage.GcloudGcsStorage.gsutil(GcloudGcsStorage.java:212) at com.google.jenkins.plugins.persistentmaster.storage.GcloudGcsStorage.storeFile(GcloudGcsStorage.java:66) at com.google.jenkins.plugins.persistentmaster.backup.BackupProcedure.performBackup(BackupProcedure.java:122) at com.google.jenkins.plugins.persistentmaster.PersistentMasterAsyncPeriodicWork.createBackup(PersistentMasterAsyncPeriodicWork.java:117) at com.google.jenkins.plugins.persistentmaster.PersistentMasterAsyncPeriodicWork.execute(PersistentMasterAsyncPeriodicWork.java:75) at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:99) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:248) at java.lang.ProcessImpl.start(ProcessImpl.java:134) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 7 more