I'm building my java application in a slave but I would like to execute a shell script as post-build action, this script executes a specific module in my application and requires as parameter, cucumber report file(Json file) that is stored on the Jenkins master here: /data/jenkins/jobs/${JOB\_NAME}/builds.

how can I manage this?