Hi, The shortest way would be to convert this fine to *.properties format and then to Inject the variables into environment using the EnvInject plugin <https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin>. This plugin provides a build step, which allows injecting vars from workpace files.
вторник, 21 июня 2016 г., 9:00:09 UTC+2 пользователь Vadivel Natarajan написал: > > Hi All, > > Am very new to Jerkins. Previously we used Finalbuilder application. In > that we can able to use the variable values from the ini file in > finalbuilder application. > > =======Sample.ini file=========== > user=sample > passwrod=1234# > path=D:\Testing\Sampletest\newproject > ========================= > > For example, In above ini file, user name, password, and project path are > defined. i can use the same variable in finalbuilder project by loading the > ini file. > > Similarly, can i use the variables and its value assigned in ini file in > Jenkins application? If so, what plugin do i need to use and how to use? > > Thanks in advance!!! > > Regards, > Vadivel > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/6edaa817-9ad3-4267-a91c-91539c79dcc1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
