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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="S5thSFj6AQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">yairdav...@...> 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 <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="S5thSFj6AQAJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">jenkins...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/fa6504d9-6371-4b20-a5f0-a8a8448896b2%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href='https://groups.google.com/d/msgid/jenkinsci-users/fa6504d9-6371-4b20-a5f0-a8a8448896b2%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/jenkinsci-users/fa6504d9-6371-4b20-a5f0-a8a8448896b2%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/msgid/jenkinsci-users/fa6504d9-6371-4b20-a5f0-a8a8448896b2%40googlegroups.com.
--
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
[hidden email].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/0834c862-095b-4828-ac9b-76cf6d87ecde%40googlegroups.com.