I am trying to build a Git project using Jenkins on an ec2 instance. The custom workspace address I want to keep is
I get the following error:
java.io.IOException: Failed to mkdirs:
I figured that this is due to permission, that 'jenkins' user doesn't have the permission to that folder.
So, I changed the ownership of
xyz, and added jenkins as a user and a group, and tried to change the permission to 777.
Still the error persists.
I tried building this in other
/var/www/ and it builds correctly.