I tried to execute the build using PSoC Creator 4.0 and 4.2. I am getting your error in version 4.2, but it builds perfectly on version 4.0.
Try running it on 4.0 and let me know if you are able to build it perfectly.
Our Project relies on certain Versions of modules, so I'm not shure if a downgrade is really a solution for us. Will there be a fix in the next Versions of PSoC creator?
For some reason that the Jenkins account is not able to build the projects because it not able to find the path to the My Documents directory when it is trying to construct the path to "..PSoC Creator/4.2.." directory in My Documents. The reason could be because the system is on a network drive and the My Documents folder is not mounted correctly or redirected.
Please run the following command on Windows Powershell and also in Jenkins to check if you are able to see the path being returned as shown below:
This is a .NET API function that we use in PSoC Creator to get the path to the My Documents folder. If an empty string is returned, it means there is an error accessing the folder and hence the error.
Please verify this and let me know your observations.
Please pay attention for USERPROFILE variable in Jenkins. In my case I have next:
In my case workaround:
# Hack for PSoC Creator
Works as expected.
Hope that will help for you till that moment when issue with PSoC Creator v4.2 will be resolved.