jenkinsci/copyartifact-plugin — pull request #19 by ndeloof (2013-05-29 22:14:02+00:00)
Title: EnvAction to support hierarchical jobs (cloudbees folders)

projectname can include "/" from a folder
so need to disambiguate FOO/BAR, that can be either a "BAR" module for maven job "FOO", or a "BAR" job for "FOO" folder

This change check each nested "/" level until a Job is found, and use it to generate the env variable name.