Re: How to use folder properties?

2018-11-26 Thread ZillaYT
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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


Re: How to use folder properties?

2018-11-26 Thread ZillaYT
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/77fdb116-d250-4c79-b65a-97d7855416b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to use folder properties?

2018-11-26 Thread ZillaYT
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ea57afac-daba-4cce-830e-84fb89f97f0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.