Hi Yossi, Maybe I didn't explain it clearly.. I'm not talking about a properties file, What I meant is to send a path of some txt file that holds inside some string that is changing from my previous builds - the upstream builds, I want to use the content of The file as a parameter, but I want this process to be automated so once I'll call this parameter it will already hold the content of this file. Could you give some example with a Linux syntax?
Thanks, Alex On Aug 18, 2014 9:49 AM, "Brosh, Yossi" <yossi.br...@sap.com> wrote: > Hi, > > > > First install the plugin: > > https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin > > > > 2. > > create a file . > > > > 3. inject the file > > > > 4. call the desired build with the parameter from the file . > > > > Example: > > > > > > > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@googlegroups.com] *On Behalf Of *Alex Brodov > *Sent:* Monday 18 August 2014 09:34 > *To:* jenkinsci-users@googlegroups.com > *Subject:* Re: How can i upload a text file and use it as a parameter > > > > Could you give me some example? > I tried yesterday and it didn't work.. > > Thanks, > Alex > > On Aug 18, 2014 9:23 AM, "Adam Guja" <adam.g...@gmail.com> wrote: > > Yes, use this plugin > > W dniu poniedziałek, 18 sierpnia 2014 08:18:59 UTC+2 użytkownik Alex > Brodov napisał: > > I want to put a path to a txt file, and each build this parameter will > read the content of the file. > Is it possible? > > Thanks, > Alex > > On Aug 18, 2014 9:09 AM, "Adam Guja" <adam...@gmail.com> wrote: > > Not sure, based on your description, which scenario would suit you best, > but here's the plugin you need: > > https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin > > > > Let me know if you need any help with it > > W dniu niedziela, 17 sierpnia 2014 17:25:43 UTC+2 użytkownik Alex Brodov > napisał: > > I have a txt file which is dynamic file, it's updating during every > build, i want to use the content of the file which holds some string inside > as a Jenkins parameter so i can use the content of the file, i'm trying to > figure out how can i do that. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/azJhV4_6pmE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > jenkinsci-use...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/azJhV4_6pmE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > jenkinsci-users+unsubscr...@googlegroups.com. > 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 jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/azJhV4_6pmE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > jenkinsci-users+unsubscr...@googlegroups.com. > 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.