RTFM: https://wiki.jenkins.io/display/JENKINS/Folder+Properties+Plugin
Had to use in my Jenkinsfile
withFolderProperties {
projectName = env.PROJECT_NAME
}
On Monday, November 26, 2018 at 10:32:10 AM UTC-5, ZillaYT wrote:
>
> I wanted to clarify that I created a folder, and then jobs inside
I wanted to clarify that I created a folder, and then jobs inside the
folder. I then configured the folder to have properties (e.g.,
PROJECT_NAME) that I'm trying to use in the jobs inside the folder.
On Monday, November 26, 2018 at 10:12:40 AM UTC-5, ZillaYT wrote:
>
> I have the folder
I have the folder properties plugin installed, and have defined some folder
properties, e.g., key=PROJECT_NAME, value=foo. How do I use this in my jobs
that belong in the folder? I tried env.PROJECT_NAME but it doesn't find it.
Thanks!
--
You received this message because you are subscribed