Hey guys,
I still don't understand for me the error was quite simple /root/.s3cfg permission denied I changed the permission on .s3cfg as results it's not working, I also moved the .s3cfg still the same but the crazy think is Jenkins keep thinking the file is still inside of /root even though I moved it .
any ideas will be welcome.
Here is the Jenkins log error
TASK: [nodejs_app | Pull down code] *******************************************
failed: [172.16.21.129] => {"changed": true, "cmd": ["s3cmd", "-c", "/root/.s3cfg", "get", "s3://snapav-code/cs-system-status/cs-system-status-7ab76c7ec22af26fa3605d55750b6050e5ca17d5-2015-10-29_13-28-25--88.tar.gz", "/var/cs-apps/cs-system-status/7ab76c7ec22af26fa3605d55750b6050e5ca17d5-2015-10-29_13-28-25--88"], "delta": "0:00:00.147793", "end": "2015-10-29 13:28:30.859421", "item": "", "rc": 1, "start": "2015-10-29 13:28:30.711628"}
stderr: ERROR: /root/.s3cfg: Permission denied
ERROR: Configuration file not available.
ERROR: Consider using --configure parameter to create one.