Hi, I am trying to implement a standard pipeline using Shared Libraries in Jenkins. I understand the directory structure for the same.
(root) | |----- src | |----- vars | |----- resources I have declared variables in vars directory in groovy files. How I can access these variables in the groovy files src/com/xyz/a.groovy. vars/b.groovy import groovy.transform.Field class Git { @Field final Name = 'xyz' } return this; I want to access the value of Name variable in src/com/xyz/a.groovy. Is it possible? Any kind of help is highly appreciated. Thanks, Sanjiv -- 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/132c6241-b8f6-4051-b025-443f93fc32f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.