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 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 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 to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b9acdc5d-eace-4728-8c15-9196271f24ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to