Yah... thought of that and I'm trying to avoid that.

On Fri, Oct 16, 2015, 15:14 John Mellor <[email protected]> wrote:

> I write out a file containing the globals and then source it wherever
> required.  For downstream jobs, I have to make the file an artifact, so it
> gets copied to the master node, and then use the Copy-To-Slave plugin to
> pull it over to the current node.
>
>
>
> P.S, all of my builds use various forms of freestyle projects, so I don’t
> know how this would work in some other make engine like mvn.
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Peter Berghold
> *Sent:* October-16-15 14:57
> *To:* [email protected]
> *Subject:* Global environmental variables
>
>
>
> Riddle me this Batman.
>
>
>
> Is there a way in Jenkins to set a global value that build jobs can access
> in a shell?
>
>
>
> Reason I ask is I'm about to create a build job that sets up files for
> release by gathering a host of modules, staging them and then creating not
> one but two tarballs for distribution.   I need to designate what the build
> tag is to help name the tarballs.
>
>
>
> modules-{TAG}-{SEMANTIC VERSION}-release.tar.gz
>
>
>
> I'd like the to set the TAG and SEMANTIC VERSION in one place and have it
> carry everywhere....
>
>
>
> --
> 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/CAArvnv3Uo5wuYOXhcpOm-mnf6tP9ON9KAUhJE%3DzzpRc761W16w%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAArvnv3Uo5wuYOXhcpOm-mnf6tP9ON9KAUhJE%3DzzpRc761W16w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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/97e85cf2af374fe0b66a54ca5bd1c1f4%40mbx01colo01p.esentire.local
> <https://groups.google.com/d/msgid/jenkinsci-users/97e85cf2af374fe0b66a54ca5bd1c1f4%40mbx01colo01p.esentire.local?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAArvnv1o7-SEiq1jDrHhMNmaP_ZhFQpYNDfy7i9RWFeLYr%3D9sg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to