Let's assume that the build directory is configured to be located outside Jenkins Home.
For example, if JENKINS_HOME is /var/jenkins/<instance_name>/JENKINS_HOME, we could have something like /var/jenkins/<instance_name>/jenkinsBuildSata/ or /local/jenkinsBuildData/<instance_name>...
In brief, I don't want to rely of some possible naming rules that could evolve at midterm, and I have not been able to find a Jenkins variable or a Jenkins groovy API.
So, I guess there is a hack that can give that... but which one ?
Please sign in to leave a comment.