thanks Carlos , it did work fine when i copy the file (someyaml.yaml) to
the root of the repo
can i put the file in some folder (same repo) and use something like below
pipeline {
agent {
kubernetes
{
yamlFile '/k8s/someyaml.yaml'
}
}
On Monday, December 2, 2019 at 6:16:03 PM UTC+2, Carlos Sanchez wrote:
>
> No, It has to live in the same repo
>
> On Mon, Dec 2, 2019, 16:39 YD <[email protected] <javascript:>> wrote:
>
>> Hi all
>>
>> in kubernetes plugin i want to use yaml that i managed in my git server
>> (public repo)
>>
>> does something like that should work ?
>>
>> pipeline {
>> agent {
>> kubernetes
>> {
>> yamlFile '<my git server>/someyaml.yaml'
>> }
>> }
>>
>> if not what are my options for using yamlFile method
>>
>> thanks
>> Yair
>>
>> --
>> 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] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/fa6504d9-6371-4b20-a5f0-a8a8448896b2%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/jenkinsci-users/fa6504d9-6371-4b20-a5f0-a8a8448896b2%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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/0834c862-095b-4828-ac9b-76cf6d87ecde%40googlegroups.com.